MySQL数据库表结构设计
第 1-5 条, 共 5 条.
字段名称 | 字段类型 | 字段默认值 | 是否允许为空 | 字段描述 | 索引 | 字段数据示例 |
---|---|---|---|---|---|---|
uid | int(11) | 否 | 无索引 | |||
role_id | int(11) | 否 | 无索引 | |||
yesapi_zhiguo_ocenter_user_role_status | tinyint(4) | 否 | 2:未审核,1:启用,0:禁用,-1:删除 | 无索引 | ||
step | varchar(50) | 否 | 记录当前执行步骤 | 无索引 | ||
init | tinyint(2) | 0 | 否 | 是否初始化 | 无索引 | 0 |
MySQL建表SQL语句 免费MySQL数据库表结构设计
数据库结构:智果内容付费-用户角色关联:https://open.yesapi.cn/tablelist/yesapi_zhiguo_ocenter_user_role.html
-- 数据库大全:智果内容付费-用户角色关联
-- 来源:YesApi.cn
CREATE TABLE `yesapi_zhiguo_ocenter_user_role` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL COMMENT '',
`role_id` int(11) NOT NULL COMMENT '',
`yesapi_zhiguo_ocenter_user_role_status` tinyint(4) NOT NULL COMMENT '2:未审核,1:启用,0:禁用,-1:删除',
`step` varchar(50) NOT NULL COMMENT '记录当前执行步骤',
`init` tinyint(2) NOT NULL DEFAULT '0' COMMENT '是否初始化',
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '智果内容付费-用户角色关联';
复制后,到数据库执行,即可创建此数据库表。
猜你喜欢
MySQL数据库设计 智果内容付费-权限组与分类的对应关系表

