Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.2.0-ALPHA3
-
Fix Version/s: 1.2.0-BETA1
-
Component/s: Migrations
-
Labels:None
Description
The GenerateMigrationsDiff task generates migrations which still use the old ordering of parameters of changeColumn().
This is how it gets generated:
$this->changeColumn('my_table', 'my_column', '25', 'timestamp', array(
'notnull' => '1',
));
Why it should be like this
$this->changeColumn('my_table', 'my_column', 'timestamp', '25', array(
'notnull' => '1',
));
I also added a patch to fix this.