From 92b7d80c3801a383c055db13a999d6291def270a Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 2 Nov 2010 11:43:37 -0600 Subject: [PATCH] autoincrement implies not null --- turba/migration/2_turba_upgrade_autoincrement.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/turba/migration/2_turba_upgrade_autoincrement.php b/turba/migration/2_turba_upgrade_autoincrement.php index 5ce04d64f..797577e48 100644 --- a/turba/migration/2_turba_upgrade_autoincrement.php +++ b/turba/migration/2_turba_upgrade_autoincrement.php @@ -19,7 +19,7 @@ class TurbaUpgradeAutoIncrement extends Horde_Db_Migration_Base */ public function up() { - $this->changeColumn('turba_shares', 'share_id', 'integer', array('null' => false, 'autoincrement' => true)); + $this->changeColumn('turba_shares', 'share_id', 'integer', array('autoincrement' => true)); } /** @@ -27,7 +27,7 @@ class TurbaUpgradeAutoIncrement extends Horde_Db_Migration_Base */ public function down() { - $this->changeColumn('turba_shares', 'share_id', 'integer', array('null' => false)); + $this->changeColumn('turba_shares', 'share_id', 'integer', array('autoincrement' => false)); } -} \ No newline at end of file +} -- 2.11.0