当前位置:网站首页>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 '用户表'
边栏推荐
- day3 poc与exp学习之pikachu带token的暴力破解
- Implementation of OA office system based on JSP
- 数据可视化平台的下一站 | 来自国产开源数据可视化 datart「超级铁粉」的馈赠
- BGP联邦实验
- K3S - 轻量级Kubernetes集群
- 中金财富开户安全吗 股票怎么买
- How many of the 50 classic computer network interview questions can you answer? (II)
- disruptor框架无锁实现生产者消费者代码实例
- Family fraud is prevalent, and Sogou number builds a security firewall
- 【Try to Hack】AWVS安装和简单使用
猜你喜欢

. net to develop cloud native applications, you only need to add oil to yourself

SQL Server database design -- select statement 2

PMP备考心得 | 好的习惯、好的过程、好的结果

JMeter --- JMeter installation tutorial

LiveQing直播点播流媒体OBS推流直播如何获得接口校验token视频校验streamToken及配置token有效期

No requirement document, reject development?

砥砺前行新征程,城链科技狂欢庆典在厦门隆重举行

go语言中的结构体和组合思想入门示例

推荐系统专题 | 推荐系统架构与单域跨域召回模型

Anti attack based on conjugate gradient method
随机推荐
Sort out 55 MySQL interview questions (including answers)
og seo
数论 —— 整除分块,常见经典例题。
TCP数据传输与性能
Geely Xingrui: from product technology empowerment to cultural confidence
Family fraud is prevalent, and Sogou number builds a security firewall
SQL Server 数据库设计--SELECT语句之二
NodeJS 基于 Dapr 构建云原生微服务应用,从 0 到 1 快速上手指南
白盒测试的概念及测试方法
Detailed explanation of common ADB operation commands of "suggestions collection"
[ctfshow web getting started]ssrf
讲一讲HART协议
Jmeter---Jmeter安装教程
Is it safe to open an account online? How about Galaxy Securities
[cloud native] in the era of storm and cloud, the sharp edge of DBAs is out of the sheath
How do test / development programmers break through? All roads lead to Rome
Kali 2022.2 安装
[array]nc77 adjust the array order so that odd numbers precede even numbers (one) - medium
Found a useful data analysis tool
基于SSM的博客系统【带后台管理】