mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-09 11:32:48 +08:00
数据库安装中,给软删除增加索引;
This commit is contained in:
@@ -44,6 +44,7 @@ class SystemMenu extends Migrator
|
||||
->addColumn(Column::integer('delete_time')->setLimit(11)->setUnsigned()->setDefault(0))
|
||||
->addIndex('title')
|
||||
->addIndex('href')
|
||||
->addIndex('delete_time')
|
||||
->create();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user