Alter Column Length With Liquibase
Answer :
You can increase the size of your column like this:
<changeSet author="liquibase" id="sample"> <modifyDataType columnName="description" newDataType="varchar(2000)" tableName="account"/> </changeSet>
The schema defintion in your xml file doesn't allow <modifyDataType ... />
.
The version of the xsd file should match the version of Liquibase you are using. The exception looks like you are using the xsd of version 1.9, see http://www.liquibase.org/documentation/xml_format.html
Comments
Post a Comment