MySQL Create Table SQL
Table Structure: okayapi_cmdb_mgmt_user_departments:/tablelist/okayapi_cmdb_mgmt_user_departments.html
-- MySQL Table okayapi_cmdb_mgmt_user_departments
-- From: OkayAPI.com
CREATE TABLE `okayapi_cmdb_mgmt_user_departments` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL COMMENT '',
`department_id` int(11) NOT NULL COMMENT '',
KEY `user_id` (`user_id`),
KEY `department_id` (`department_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 |
---|---|---|---|---|---|---|
user_id | int(11) | 否 | ||||
department_id | int(11) | 否 |