Optimize UserInfo
This commit is contained in:
@@ -2,12 +2,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
|
||||
id bigint not null primary key,
|
||||
user_id bigint not null comment '用户ID',
|
||||
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 '用户信息表';
|
||||
Reference in New Issue
Block a user