Consider the following example of modifying an existing table -- change the column type from VARCHAR(256) to TEXT:
ALTER TABLE Team
CHANGE COLUMN Name Name TEXT NULL DEFAULT NULL ;
<changeSet author="dulino (generated)" id="1519671364901-3">
<modifyDataType columnName="Name" newDataType="clob" tableName="Team"/>
<dropNotNullConstraint columnDataType="clob" columnName="Context_Country_Code" tableName="Team"/>
</changeSet>
Note the column data type becomes "clob", not "text." We are using MySQL. This does not happen for a brand new table, only for existing tables.
Why is that? Is there something I am doing wrong or is it a bug?
Why is that?