Support login with email
This commit is contained in:
@@ -6,10 +6,11 @@ create table if not exists t_user_info
|
||||
user_id bigint not null comment '用户ID',
|
||||
nickname varchar(50) null comment '昵称',
|
||||
avatar text null comment '头像',
|
||||
email varchar(100) null comment '邮箱',
|
||||
email varchar(100) not 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,
|
||||
constraint t_user_info_unique unique (user_id, deleted)
|
||||
constraint t_user_info_unique_user_id unique (user_id, deleted),
|
||||
constraint t_user_info_unique_email unique (email, deleted)
|
||||
) comment '用户资料表';
|
||||
Reference in New Issue
Block a user