数据库安装中,给软删除增加索引;

This commit is contained in:
2022-07-26 18:07:37 +08:00
parent f22e22c544
commit af063dacea
8 changed files with 8 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ class SystemAdmin extends Migrator
->addColumn(Column::integer('delete_time')->setLimit(11)->setUnsigned()->setDefault(0))
->addIndex('username')
->addIndex('phone')
->addIndex('delete_time')
->create();
}
}