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

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable