MySQL Create Table SQL
Table Structure: okayapi_zheng_upms_permission:/tablelist/okayapi_zheng_upms_permission.html
-- MySQL Table okayapi_zheng_upms_permission
-- From: OkayAPI.com
CREATE TABLE `okayapi_zheng_upms_permission` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`system_id` int(10) NULL COMMENT '所属系统',
`pid` int(10) NULL COMMENT '所属上级',
`okayapi_zheng_upms_permission_name` varchar(20) NULL COMMENT '名称',
`okayapi_zheng_upms_permission_type` tinyint(4) NULL COMMENT '类型(1:目录,2:菜单,3:按钮)',
`permission_value` varchar(50) NULL COMMENT '权限值',
`uri` varchar(100) NULL COMMENT '路径',
`icon` varchar(50) NULL COMMENT '图标',
`okayapi_zheng_upms_permission_status` tinyint(4) NULL COMMENT '状态(0:禁止,1:正常)',
`ctime` bigint(20) NULL COMMENT '创建时间',
`orders` bigint(20) NULL COMMENT '排序',
KEY `system_id` (`system_id`),
KEY `pid` (`pid`),
KEY `okayapi_zheng_upms_permission_name` (`okayapi_zheng_upms_permission_name`),
KEY `okayapi_zheng_upms_permission_type` (`okayapi_zheng_upms_permission_type`),
KEY `permission_value` (`permission_value`),
KEY `uri` (`uri`),
KEY `icon` (`icon`),
KEY `okayapi_zheng_upms_permission_status` (`okayapi_zheng_upms_permission_status`),
KEY `ctime` (`ctime`),
KEY `orders` (`orders`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'zheng敏捷开发-权限';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-10 of 10 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
system_id | int(10) | 否 | 所属系统 | |||
pid | int(10) | 是 | 所属上级 | |||
okayapi_zheng_upms_permission_name | varchar(20) | 是 | 名称 | |||
okayapi_zheng_upms_permission_type | tinyint(4) | 是 | 类型(1:目录,2:菜单,3:按钮) | |||
permission_value | varchar(50) | 是 | 权限值 | |||
uri | varchar(100) | 是 | 路径 | |||
icon | varchar(50) | 是 | 图标 | |||
okayapi_zheng_upms_permission_status | tinyint(4) | 是 | 状态(0:禁止,1:正常) | |||
ctime | bigint(20) | 是 | 创建时间 | |||
orders | bigint(20) | 是 | 排序 |