Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
This commit is contained in:
anqiansong
2023-06-17 21:23:57 +08:00
committed by GitHub
parent f5f5261556
commit 45bb547a81
3 changed files with 4 additions and 1 deletions

View File

@@ -7,6 +7,8 @@ CREATE TABLE `test_user`
',
`create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP comment '创建\r时间',
`update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`delete_time` timestamp NULL DEFAULT NULL,
`delete_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `mobile_unique` (`mobile`),
UNIQUE KEY `class_name_unique` (`class`,`name`),