-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #468 from mozzy11/fix_role
fixed patient.state column size
- Loading branch information
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd"> | ||
<changeSet author="mozzymutesa" id="1"> | ||
<preConditions onFail="MARK_RAN"> | ||
<columnExists tableName="person" columnName="state" /> | ||
<sqlCheck expectedResult="2">SELECT character_maximum_length FROM information_schema.columns WHERE table_name='person' AND column_name='state'</sqlCheck> | ||
</preConditions> | ||
<comment>Increase size of the person.state column</comment> | ||
<modifyDataType tableName="person" columnName="state" newDataType="varchar(225)"/> | ||
</changeSet> | ||
</databaseChangeLog> |