create table userinfo( id int unique auto_increment not null, -- 用户ID roles varchar(255) not null, -- 角色 username varchar(255) unique not null, -- 用户名 password varchar(255) not null, -- 密码 email varchar(255) unique not null, -- 邮箱 vcode varchar(255) not null, -- 邮箱验证码 sex tinyint(1) default 0, -- 性别 age int null, -- 年龄 title text null, -- 简介 avatar varchar(255) null, -- 头像 register_time date not null, -- 注册时间 online date not null, -- 上线时间 downline date not null, -- 下线时间 like varchar(255) null, -- 喜欢 collect varchar(255) null, -- 收藏 history varchar(255) null, -- 历史记录 ip float null, -- IP地址 is_delete tinyint(1) default 0, -- 是否注销,默认0 feedback text null, -- 反馈 system_msg text null, -- 系统消息 is_talk time null, -- 是否禁言 warning int null, -- 警告次数 comment text null , -- 我的评论 article varchar(255) null, -- 我的文章 primary key(id) )engine=innodb default charset=utf8;


原文地址: https://www.cveoy.top/t/topic/qg2h 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录