Not generateChangeLog properly for INT2 type for Postgres

Description

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".

Thanks,
Felipe

Environment

Postgres 9.2

Activity

Show:
Nathan Voxland
November 21, 2013, 4:20 PM

Fixed. Will generate it as "smallint" which is the data type int2 is an alias for for better cross-database support

Fixed

Reporter

Felipe Lahti

Components

Fix versions

Affects versions

Priority

Major