From: Jan Schneider Date: Fri, 28 Jan 2011 20:34:57 +0000 (+0100) Subject: Autoincrement X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=093a53330f3e2a3ea06d0df2d44766c22ccae632;p=horde.git Autoincrement --- diff --git a/framework/History/migration/Horde_History/2_horde_history_upgrade_autoincrement.php b/framework/History/migration/Horde_History/2_horde_history_upgrade_autoincrement.php new file mode 100644 index 000000000..0a2b20ef7 --- /dev/null +++ b/framework/History/migration/Horde_History/2_horde_history_upgrade_autoincrement.php @@ -0,0 +1,13 @@ +changeColumn('horde_histories', 'history_id', 'integer', array('null' => false, 'unsigned' => true, 'default' => null, 'autoincrement' => true)); + } + + public function down() + { + $this->changeColumn('horde_histories', 'history_id', 'integer', array('null' => false, 'unsigned' => true)); + } +} \ No newline at end of file