MySQL workbench数据建模的常用说明

PK:primary key 主键
NN:not null 非空
UQ:unique 唯一索引
BIN:binary 二进制数据(比text更大)
UN:unsigned 无符号(非负数)
ZF:zero fill 填充0 例如字段内容是1 int(4), 则内容显示为0001 
AI:auto increment 自增

猜你喜欢

转载自blog.csdn.net/walykyy/article/details/88338339