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