propelorm/Propel — Issue #168: Duplicate migrations when "size" attribute specified
Author: dancy
Created: 2011-10-28 11:04:26+00:00
State: open

Consider following database schema (schema.yml for sfPropelORMPlugin) for MySQL:

propel:
table:
decimal_column: { type: DECIMAL, size: "10,2" }

Propel will generate the following migration code for this column every time the diff command is issued:

ALTER TABLE `table` CHANGE `decimal_column` `decimal_column` DECIMAL(10,2);

Propel version 1.6.2