MySQL Create Table SQL
Table Structure: okayapi_qi_ace_base_resource_authority:/tablelist/okayapi_qi_ace_base_resource_authority.html
-- MySQL Table okayapi_qi_ace_base_resource_authority
-- From: OkayAPI.com
CREATE TABLE `okayapi_qi_ace_base_resource_authority` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`authority_id` varchar(255) NULL COMMENT '角色ID',
`authority_type` varchar(255) NULL COMMENT '角色类型',
`resource_id` varchar(255) NULL COMMENT '资源ID',
`resource_type` varchar(255) NULL COMMENT '资源类型',
`parent_id` varchar(255) NULL COMMENT '',
`path` varchar(2000) NULL COMMENT '',
`description` varchar(255) NULL COMMENT '',
`crt_time` datetime NULL COMMENT '',
`crt_user` varchar(255) NULL COMMENT '',
`crt_name` varchar(255) NULL COMMENT '',
`crt_host` varchar(255) NULL COMMENT '',
`attr1` varchar(255) NULL COMMENT '',
`attr2` varchar(255) NULL COMMENT '',
`attr3` varchar(255) NULL COMMENT '',
`attr4` varchar(255) NULL COMMENT '',
`attr5` varchar(255) NULL COMMENT '',
`attr6` varchar(255) NULL COMMENT '',
`attr7` varchar(255) NULL COMMENT '',
`attr8` varchar(255) NULL COMMENT '',
KEY `authority_id` (`authority_id`),
KEY `authority_type` (`authority_type`),
KEY `resource_id` (`resource_id`),
KEY `resource_type` (`resource_type`),
KEY `parent_id` (`parent_id`),
KEY `path` (`path`),
KEY `description` (`description`),
KEY `crt_time` (`crt_time`),
KEY `crt_user` (`crt_user`),
KEY `crt_name` (`crt_name`),
KEY `crt_host` (`crt_host`),
KEY `attr1` (`attr1`),
KEY `attr2` (`attr2`),
KEY `attr3` (`attr3`),
KEY `attr4` (`attr4`),
KEY `attr5` (`attr5`),
KEY `attr6` (`attr6`),
KEY `attr7` (`attr7`),
KEY `attr8` (`attr8`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'qi后台管理系统-基本资源授权';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-19 of 19 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
authority_id | varchar(255) | 是 | 角色ID | |||
authority_type | varchar(255) | 是 | 角色类型 | |||
resource_id | varchar(255) | 是 | 资源ID | |||
resource_type | varchar(255) | 是 | 资源类型 | |||
parent_id | varchar(255) | 是 | ||||
path | varchar(2000) | 是 | ||||
description | varchar(255) | 是 | ||||
crt_time | datetime | 是 | ||||
crt_user | varchar(255) | 是 | ||||
crt_name | varchar(255) | 是 | ||||
crt_host | varchar(255) | 是 | ||||
attr1 | varchar(255) | 是 | ||||
attr2 | varchar(255) | 是 | ||||
attr3 | varchar(255) | 是 | ||||
attr4 | varchar(255) | 是 | ||||
attr5 | varchar(255) | 是 | ||||
attr6 | varchar(255) | 是 | ||||
attr7 | varchar(255) | 是 | ||||
attr8 | varchar(255) | 是 |