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 at 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

Details

Reporter

Components

Fix versions

Affects versions

Priority

Created September 2, 2013 at 7:47 PM
Updated November 21, 2013 at 4:20 PM
Resolved November 21, 2013 at 4:20 PM