Looks like this should be the column name, not the field name.
This commit is contained in:
@@ -149,8 +149,8 @@ public abstract class SchemaMigration extends Modifier
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected int invoke (Connection conn, DatabaseLiaison liaison) throws SQLException {
|
protected int invoke (Connection conn, DatabaseLiaison liaison) throws SQLException {
|
||||||
log.info("Updating type of '" + _fieldName + "' in " + _tableName);
|
log.info("Updating type of '" + _columnName + "' in " + _tableName);
|
||||||
return liaison.changeColumn(conn, _tableName, _fieldName, _newColumnDef.type,
|
return liaison.changeColumn(conn, _tableName, _columnName, _newColumnDef.type,
|
||||||
_newColumnDef.nullable, _newColumnDef.unique,
|
_newColumnDef.nullable, _newColumnDef.unique,
|
||||||
_newColumnDef.defaultValue) ? 1 : 0;
|
_newColumnDef.defaultValue) ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user