Add table t_user_info

This commit is contained in:
2023-10-30 18:39:52 +08:00
parent d4e4ec6cbc
commit c1326f5e7e
11 changed files with 159 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
drop table if exists t_user_info;
create table if not exists t_user_info
(
id bigint not null primary key,
nick_name varchar(50) null comment '昵称',
avatar varchar(500) null comment '头像',
email varchar(100) null comment '邮箱',
create_time datetime not null default (utc_timestamp()) comment '创建时间',
update_time datetime not null default (utc_timestamp()) comment '修改时间',
deleted bigint not null default 0,
version int not null default 0
) comment '用户信息表';