After run generateChangeLog I got a column of type INT2(5) which is invalid and I'm getting errors when trying to run update command.
<column name="code" type="INT2(5)">
The workaround I'm using is to just change the type to the correct one which is only "INT2".
Fixed. Will generate it as "smallint" which is the data type int2 is an alias for for better cross-database support