modified 修复主键的BUG

This commit is contained in:
zhaoxiang 2019-05-14 11:41:31 +08:00
parent a842c3fc41
commit 217da10fff
12 changed files with 0 additions and 24 deletions

View File

@ -79,7 +79,5 @@ class AdminApp extends Migrator {
'comment' => '前台样式显示所需数据格式',
'null' => true
])->addIndex(['app_id'], ['unique' => true])->create();
$table->changeColumn('id', 'integer', ['signed' => false]);
}
}

View File

@ -56,7 +56,5 @@ class AdminAppGroup extends Migrator {
'default' => '',
'comment' => '组标识'
])->create();
$table->changeColumn('id', 'integer', ['signed' => false]);
}
}

View File

@ -51,7 +51,5 @@ class AdminAuthGroup extends Migrator {
'default' => 1,
'comment' => '组状态为1正常为0禁用'
])->create();
$table->changeColumn('id', 'integer', ['signed' => false]);
}
}

View File

@ -50,7 +50,5 @@ class AdminAuthGroupAccess extends Migrator {
'default' => '',
'comment' => ''
])->addIndex(['uid'])->addIndex(['group_id'])->create();
$table->changeColumn('id', 'integer', ['signed' => false]);
}
}

View File

@ -59,7 +59,5 @@ class AdminAuthRule extends Migrator {
'default' => 1,
'comment' => '状态为1正常为0禁用'
])->create();
$table->changeColumn('id', 'integer', ['signed' => false]);
}
}

View File

@ -83,7 +83,5 @@ class AdminFields extends Migrator {
'default' => '',
'comment' => 'wiki显示用字段'
])->addIndex(['hash'])->create();
$table->changeColumn('id', 'integer', ['signed' => false]);
}
}

View File

@ -76,7 +76,5 @@ class AdminGroup extends Migrator {
'default' => 0,
'comment' => '分组热度'
])->create();
$table->changeColumn('id', 'integer', ['signed' => false]);
}
}

View File

@ -88,7 +88,5 @@ class AdminList extends Migrator {
'comment' => '当前接口所属的接口分组'
])->addIndex(['hash'])->create();
$table->changeColumn('id', 'integer', ['signed' => false]);
}
}

View File

@ -77,7 +77,5 @@ class AdminMenu extends Migrator {
'default' => 0,
'comment' => '菜单认证等级'
])->create();
$table->changeColumn('id', 'integer', ['signed' => false]);
}
}

View File

@ -79,7 +79,5 @@ class AdminUser extends Migrator
'default' => '',
'comment' => '三方登录唯一ID'
])->addIndex(['create_time'])->create();
$table->changeColumn('id', 'integer', ['signed' => false]);
}
}

View File

@ -67,7 +67,5 @@ class AdminUserAction extends Migrator {
'default' => 0,
'comment' => '操作URL'
])->addIndex(['uid'])->create();
$table->changeColumn('id', 'integer', ['signed' => false]);
}
}

View File

@ -64,7 +64,5 @@ class AdminUserData extends Migrator
'null' => true,
'comment' => '用户头像'
])->addIndex(['uid'])->create();
$table->changeColumn('id', 'integer', ['signed' => false]);
}
}