[Migration] Fixes issue when user_id already exists with the api table.
这个提交包含在:
父节点
d998a7f8a2
当前提交
e46152003f
共有 1 个文件被更改,包括 3 次插入 和 1 次删除
|
|
@ -9,8 +9,10 @@ class Migration_add_userid_to_api extends CI_Migration
|
|||
'user_id BIGINT(20) DEFAULT NULL',
|
||||
);
|
||||
|
||||
if (!$this->db->field_exists('user_id', 'api')) {
|
||||
$this->dbforge->add_column('api', $fields);
|
||||
}
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
|
|
|
|||
正在加载…
在新工单中引用