MySQL Create Table SQL
Table Structure: okayapi_cmdb_mgmt_department_permissions:/tablelist/okayapi_cmdb_mgmt_department_permissions.html
-- MySQL Table okayapi_cmdb_mgmt_department_permissions
-- From: OkayAPI.com
CREATE TABLE `okayapi_cmdb_mgmt_department_permissions` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`department_id` int(11) NOT NULL COMMENT '',
`permission_id` int(11) NOT NULL COMMENT '',
KEY `department_id` (`department_id`),
KEY `permission_id` (`permission_id`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'CMDB管理-部门权限';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-2 of 2 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
department_id | int(11) | 否 | ||||
permission_id | int(11) | 否 |