From: Michael M Slusarz Date: Tue, 2 Nov 2010 17:43:37 +0000 (-0600) Subject: autoincrement implies not null X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=92b7d80c3801a383c055db13a999d6291def270a;p=horde.git autoincrement implies not null --- 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 +}