Add table t_user_info
This commit is contained in:
@@ -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 '用户信息表';
|
||||
5
src/main/resources/mapper/permission/UserInfoMapper.xml
Normal file
5
src/main/resources/mapper/permission/UserInfoMapper.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="top.fatweb.api.mapper.permission.UserInfoMapper">
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user