mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-01 23:40:38 +00:00
修改主键问题
This commit is contained in:
parent
7376b477ae
commit
6c02390071
@ -781,6 +781,9 @@ class SystemCrudServices extends BaseServices
|
||||
$table = new Table($tableName, ['comment' => $tableComment], $this->getAdapter());
|
||||
//创建字段
|
||||
foreach ($tableField as $item) {
|
||||
if (isset($item['primaryKey']) && $item['primaryKey']) {
|
||||
continue;
|
||||
}
|
||||
$option = [];
|
||||
if (isset($item['limit'])) {
|
||||
$option['limit'] = (int)$item['limit'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user