fix user_uid column name
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 7 Oct 2010 14:20:11 +0000 (10:20 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 7 Oct 2010 14:21:18 +0000 (10:21 -0400)
mnemo/migration/1_mnemo_base_tables.php

index c9ce819..1a30612 100644 (file)
@@ -72,12 +72,12 @@ class MnemoBaseTables extends Horde_Db_Migration_Base
         if (!in_array('mnemo_shares_users', $tableList)) {
             $t = $this->createTable('mnemo_shares_users');
             $t->column('share_id', 'integer', array('null' => false));
-            $t->column('user_id', 'string', array('limit' => 255));
+            $t->column('user_uid', 'string', array('limit' => 255));
             $t->column('perm', 'integer', array('null' => false));
             $t->end();
 
             $this->addIndex('mnemo_shares_users', 'share_id');
-            $this->addIndex('mnemo_shares_users', 'user_id');
+            $this->addIndex('mnemo_shares_users', 'user_uid');
             $this->addIndex('mnemo_shares_users', 'perm');
         }
     }