MySQL Create Table SQL
Table Structure: okayapi_opms_pms_permissions:/tablelist/okayapi_opms_pms_permissions.html
-- MySQL Table okayapi_opms_pms_permissions
-- From: OkayAPI.com
CREATE TABLE `okayapi_opms_pms_permissions` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`parentid` bigint(20) NULL COMMENT '',
`okayapi_opms_pms_permissions_name` varchar(50) NULL COMMENT '中文名称',
`ename` varchar(50) NULL COMMENT '英文名称',
`icon` varchar(20) NULL COMMENT '',
`nav` tinyint(1) NULL DEFAULT '0' COMMENT '1是0否导航',
`okayapi_opms_pms_permissions_type` tinyint(1) NULL DEFAULT '0' COMMENT '0不显示1显示',
`weight` tinyint(4) NULL DEFAULT '0' COMMENT '',
KEY `parentid` (`parentid`),
KEY `okayapi_opms_pms_permissions_name` (`okayapi_opms_pms_permissions_name`),
KEY `ename` (`ename`),
KEY `icon` (`icon`),
KEY `nav` (`nav`),
KEY `okayapi_opms_pms_permissions_type` (`okayapi_opms_pms_permissions_type`),
KEY `weight` (`weight`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'OPMS和OA管理-权限表';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-7 of 7 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
parentid | bigint(20) | 是 | ||||
okayapi_opms_pms_permissions_name | varchar(50) | 是 | 中文名称 | |||
ename | varchar(50) | 是 | 英文名称 | |||
icon | varchar(20) | 是 | ||||
nav | tinyint(1) | 0 | 是 | 1是0否导航 | 0 | |
okayapi_opms_pms_permissions_type | tinyint(1) | 0 | 是 | 0不显示1显示 | 0 | |
weight | tinyint(4) | 0 | 是 | 0 |