+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_ry_sys_role_dept:/tablelist/okayapi_ry_sys_role_dept.html


-- MySQL Table okayapi_ry_sys_role_dept
-- From: OkayAPI.com
CREATE TABLE `okayapi_ry_sys_role_dept` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `role_id` bigint(20) NOT NULL COMMENT '角色ID',
    `dept_id` bigint(20) NOT NULL COMMENT '部门ID',
    KEY `role_id` (`role_id`),
    KEY `dept_id` (`dept_id`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'RuoYi后台管理系统-角色和部门关联表';

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
role_idbigint(20)角色ID
dept_idbigint(20)部门ID

Guess You Like

MySQL Table Design okayapi_ry_sys_dept

MySQL Table Design okayapi_ry_sys_user

MySQL Table Design okayapi_ry_sys_post

MySQL Table Design okayapi_ry_sys_role

MySQL Table Design okayapi_ry_sys_menu

MySQL Table Design okayapi_ry_sys_user_role

MySQL Table Design okayapi_ry_sys_role_menu

MySQL Table Design okayapi_ry_sys_user_post

MySQL Table Design okayapi_ry_sys_oper_log

MySQL Table Design okayapi_ry_sys_dict_type

MySQL Table Design okayapi_ry_sys_dict_data

MySQL Table Design okayapi_ry_sys_config

MySQL Table Design okayapi_ry_sys_logininfor

MySQL Table Design okayapi_ry_sys_user_online

MySQL Table Design okayapi_ry_sys_job

MySQL Table Design okayapi_ry_sys_job_log

MySQL Table Design okayapi_ry_sys_notice

MySQL Table Design okayapi_ry_gen_table

MySQL Table Design okayapi_ry_gen_table_column

TOP ↑