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');
}
}