+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_rights_assign:/tablelist/okayapi_rights_assign.html


-- MySQL Table okayapi_rights_assign
-- From: OkayAPI.com
CREATE TABLE `okayapi_rights_assign` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `user_role` varchar(20) NULL COMMENT '会员分组',
    `assign_user` varchar(32) NULL COMMENT '授权的用户UUID',
    `menu_key` varchar(255) NULL COMMENT '菜单项',
    `menu_title` varchar(100) NULL COMMENT '菜单名称',
    `menu_icon` varchar(255) NULL COMMENT '菜单图标',
    `menu_sort` int(11) NULL DEFAULT '0' COMMENT '排序值,小在前',
    KEY `user_role` (`user_role`),
    KEY `assign_user` (`assign_user`),
    KEY `menu_key` (`menu_key`),
    KEY `menu_title` (`menu_title`),
    KEY `menu_icon` (`menu_icon`),
    KEY `menu_sort` (`menu_sort`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '用户权限分配';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-6 of 6 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
user_rolevarchar(20)会员分组
assign_uservarchar(32)授权的用户UUID
menu_keyvarchar(255)菜单项
menu_titlevarchar(100)菜单名称
menu_iconvarchar(255)菜单图标
menu_sortint(11)0排序值,小在前0

Guess You Like

MySQL Table Design okayapi_migo_schedule_job

MySQL Table Design okayapi_migo_schedule_job_log

MySQL Table Design okayapi_migo_sys_config

MySQL Table Design okayapi_migo_sys_log

MySQL Table Design okayapi_migo_sys_menu

MySQL Table Design okayapi_migo_sys_oss

MySQL Table Design okayapi_migo_sys_role

MySQL Table Design okayapi_migo_sys_role_menu

MySQL Table Design okayapi_migo_sys_user

MySQL Table Design okayapi_migo_sys_user_role

MySQL Table Design okayapi_migo_tb_token

MySQL Table Design okayapi_migo_tb_user

TOP ↑