Browse files

fixing migration

  • Loading branch information...
1 parent 27ff44c commit 2c711c0916219e0494310f694c02a5679e30a703 Tom Rawcliffe committed Mar 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/mpm/db/2012_03_27_10_31_03.php
View
2 db/mpm/db/2012_03_27_10_31_03.php
@@ -5,7 +5,7 @@ class Migration_2012_03_27_10_31_03 extends MpmMigration
public function up(PDO &$pdo)
{
- $pdo->query("ALTER TABLE `GroupUsers` ADD COLUMN `ordinal` int NOT NULL DEFAULT 0 AFTER `user_id`;");
+ $pdo->query("ALTER TABLE `GroupUsers` ADD COLUMN `ordinal` int NULL DEFAULT 0 AFTER `user_id`;");
}
public function down(PDO &$pdo)

0 comments on commit 2c711c0

Please sign in to comment.