+ Use This Table All Design

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 NameField TypeDefaultIS NULLField CommentIndexDemo Data
user_idint(11)
department_idint(11)

Guess You Like

MySQL Table Design okayapi_cmdb_auth_group

MySQL Table Design okayapi_cmdb_auth_group_permissions

MySQL Table Design okayapi_cmdb_auth_permission

MySQL Table Design okayapi_cmdb_c_test_person

MySQL Table Design okayapi_cmdb_django_admin_log

MySQL Table Design okayapi_cmdb_django_content_type

MySQL Table Design okayapi_cmdb_django_migrations

MySQL Table Design okayapi_cmdb_django_session

MySQL Table Design okayapi_cmdb_mgmt_department

MySQL Table Design okayapi_cmdb_mgmt_department_permissions

MySQL Table Design okayapi_cmdb_mgmt_field

MySQL Table Design okayapi_cmdb_mgmt_permission

MySQL Table Design okayapi_cmdb_mgmt_restpwverifycode

MySQL Table Design okayapi_cmdb_mgmt_table

MySQL Table Design okayapi_cmdb_mgmt_user

MySQL Table Design okayapi_cmdb_mgmt_user_groups

MySQL Table Design okayapi_cmdb_mgmt_user_permissions

MySQL Table Design okayapi_cmdb_mgmt_user_user_permissions

TOP ↑