From 0d4649ad943a68e276f43b9b63f9d5c986483f90 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 7 Oct 2010 14:14:48 -0400 Subject: [PATCH] finally found it, auto_increment -> autoincrement --- wicked/migration/1_wicked_base_tables.php | 2 +- wicked/migration/3_wicked_unsigned_ints.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wicked/migration/1_wicked_base_tables.php b/wicked/migration/1_wicked_base_tables.php index d938c2825..28584f82a 100644 --- a/wicked/migration/1_wicked_base_tables.php +++ b/wicked/migration/1_wicked_base_tables.php @@ -23,7 +23,7 @@ class WickedBaseTables extends Horde_Db_Migration_Base if (!in_array('wicked_pages', $tableList)) { $t = $this->createTable('wicked_pages', array('primaryKey' => false)); - $t->column('page_id', 'bigint', array('null' => false)); + $t->column('page_id', 'integer', array('null' => false)); $t->column('page_name', 'string', array('limit' => 100, 'null' => false)); $t->column('page_text', 'text'); $t->column('page_hits', 'integer', array('default' => 0)); diff --git a/wicked/migration/3_wicked_unsigned_ints.php b/wicked/migration/3_wicked_unsigned_ints.php index 402476536..531c35ecb 100644 --- a/wicked/migration/3_wicked_unsigned_ints.php +++ b/wicked/migration/3_wicked_unsigned_ints.php @@ -19,7 +19,7 @@ class WickedUnsignedInts extends Horde_Db_Migration_Base */ public function up() { - $this->changeColumn('wicked_pages', 'page_id', 'integer', array('auto_increment' => true, 'null' => false, 'unsigned' => true)); + $this->changeColumn('wicked_pages', 'page_id', 'integer', array('autoincrement' => true, 'null' => false, 'unsigned' => true)); $this->changeColumn('wicked_pages', 'page_hits', 'integer', array('default' => 0, 'unsigned' => true)); $this->changeColumn('wicked_pages', 'page_majorversion', 'integer', array('null' => false, 'unsigned' => true)); $this->changeColumn('wicked_pages', 'page_minorversion', 'integer', array('null' => false, 'unsigned' => true)); -- 2.11.0