当前位置:网站首页>SQL用户表的通用设计
SQL用户表的通用设计
2022-07-23 00:45:00 【AdleyTales】
CREATE TABLE `m_user` (
user_id int(10) not null auto_increment comment '用户id',
username varchar(100) not null default '' comment '用户名',
password char(32) not null default '' comment '密码',
given_name varchar(50) not null default '' comment '姓名',
mobile char(13) not null default '' comment '手机号',
phone char(13) not null default '' comment '电话',
email varchar(50) not null default '' comment '邮箱',
department char(50) not null default comment '部门',
position char(50) not null default '' comment '职位',
`location` char(50) not null default '' comment '位置',
last_ip varchar(15) not null default '' comment '最后登录ip',
last_time int(11) not null default '0' comment '最后登录时间',
role_id tinyint(3) not null default '0' comment '角色id',
is_forbidden tinyint(3) not null default '0' comment '是否屏蔽, 0 否 1 是',
is_delete tinyint(3) not null default '0' comment '是否删除, 0 否 1 是',
create_time int(11) not null default '0' comment '创建时间',
update_time int(11) not null default '0' comment '更新时间',
primary key (`user_id`)
) ENGINE=INNODB auto_increment=26 default charset=utf8 comment '用户表'
边栏推荐
- 基于SSM的博客系统【带后台管理】
- Ali II: why do MySQL indexes use b+ trees instead of jump tables?
- Pagoda installation hyperf
- 亲情诈骗盛行,搜狗号码通筑安全防火墙
- Internet download manager is simply a killer of downloaders
- 基于共轭梯度法的对抗攻击
- 疫情隔离区订餐系统的开发
- 博途PLC信号处理系列之限幅消抖滤波
- Practical exercise | a simple method for MySQL processlist table and Navicat monitor to identify slow queries
- Unity中实现判断Missing还是Null
猜你喜欢

没有需求文档,拒绝开发?

Sort out 55 MySQL interview questions (including answers)

DALSA智能相机BOA Spot与西门子S7-1200 Profinet通讯

DALSA smart camera boa spot communicates with Siemens s7-1200 PROFINET

Svg+canvas canvas track JS special effect

Mathematical modeling interpolation fitting

模板学堂丨JumpServer安全运维审计大屏

Ali II: why do MySQL indexes use b+ trees instead of jump tables?

Family fraud is prevalent, and Sogou number builds a security firewall

Pagoda installation hyperf
随机推荐
股票开户网上开户安全吗,银河证券怎么样
OSI七层模型有哪七层?每一层分别有啥作用,这篇文章讲的明明白白!
Internet Download Manager简直就是下载器中的大杀器
PostgreSQL and Navicat: the backbone of the database industry
Day3 POC and exp learning Pikachu brute force cracking with token
发现了一个好用到爆的数据分析利器
【零基础玩转BLDC系列】基于霍尔传感器的无刷直流电机控制原理
Found a useful data analysis tool
PMP备考心得 | 好的习惯、好的过程、好的结果
基于JSP实现OA办公系统
Implementation of OA office system based on JSP
数学建模——插值拟合
解读机器人视觉类别及应用原理
SQL Server database design -- select statement 2
IDM下载器免费高质量的Win下载工具无使用限制
NodeJS 基于 Dapr 构建云原生微服务应用,从 0 到 1 快速上手指南
超全PMP备考文档汇总
JMeter --- JMeter installation tutorial
flutter 线性布局,填充
UGUI源码解析——MaskableGraphic