*sigh* correctly fix key generation.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 7 Oct 2010 17:56:59 +0000 (13:56 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 7 Oct 2010 17:56:59 +0000 (13:56 -0400)
Time for a break, me thinks :)

wicked/migration/1_wicked_base_tables.php

index 89228c8..d938c28 100644 (file)
@@ -32,7 +32,7 @@ class WickedBaseTables extends Horde_Db_Migration_Base
             $t->column('version_created', 'integer', array('null' => false));
             $t->column('change_author', 'string');
             $t->column('change_log', 'text');
-            $t->primaryKey('page_id');
+            $t->primaryKey(array('page_id'));
             $t->end();
 
             $this->addIndex('wicked_pages', array('page_name'), array('unique' => true));