mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update 20221013031925_install_admin.php
This commit is contained in:
parent
9dbaf69695
commit
28f7aef0b7
@ -208,9 +208,9 @@ SQL
|
||||
->addColumn('sort', 'integer', ['limit' => 11, 'default' => 0, 'comment' => '排序权重'])
|
||||
->addColumn('status', 'integer', ['limit' => 1, 'default' => 1, 'comment' => '状态(0:禁用,1:启用)'])
|
||||
->addColumn('create_at', 'timestamp', ['default' => 'CURRENT_TIMESTAMP', 'comment' => '创建时间'])
|
||||
->addIndex('status', ['name' => 'idx_system_menu_status'])
|
||||
->addIndex('sort', ['name' => 'idx_system_menu_sort'])
|
||||
->addIndex('pid', ['name' => 'idx_system_menu_pid'])
|
||||
->addIndex('sort', ['name' => 'idx_system_menu_sort'])
|
||||
->addIndex('status', ['name' => 'idx_system_menu_status'])
|
||||
->save();
|
||||
|
||||
// 初始化菜单数据
|
||||
|
Loading…
x
Reference in New Issue
Block a user