refactor: 修改user相关模型名称

This commit is contained in:
2025-02-25 15:23:05 +08:00
parent 9746493f6b
commit 999c70cb0b
7 changed files with 24 additions and 23 deletions

View File

@@ -39,6 +39,7 @@ class CreateSysUser extends Migrator
->addColumn('status', 'boolean', ['null' => false, 'default' => 1, 'comment' => '-1为禁用, 1为启用'])
->addColumn('created_at', 'timestamp', ['null' => false, 'default' => 'CURRENT_TIMESTAMP', 'comment' => '创建时间'])
->addColumn('updated_at', 'timestamp', ['null' => false, 'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP', 'comment' => '更新时间'])
->addColumn('deleted_at', 'timestamp', ['null' => true, 'default' => null, 'comment' => '删除时间'])
->create();
}
}