Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Grails-Database-Migration 1.3
-
Labels:None
-
Environment:Ubuntu, PosgreSQL, Grails 2.0.4
Description
I found bug similar with GPDATABASEMIGRATION-2 but now on Postgres
dbm-generate-gorm-changelog creates incorrect mapping for Double properties.
Assuming we have a property like
Double doubleValue
it creates the following line in changelog.groovy
column(name: "double_value", type: "double precision(19)")
This produces liquibase.exception.UnexpectedLiquibaseException: Type class liquibase.database.structure.type.DoubleType doesn't support precision but precision was specified
I also had this issue while using Oracle.