MySQL Create Table SQL
Table Structure: okayapi_migo_sys_role:/tablelist/okayapi_migo_sys_role.html
-- MySQL Table okayapi_migo_sys_role
-- From: OkayAPI.com
CREATE TABLE `okayapi_migo_sys_role` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`role_id` bigint(20) NULL COMMENT '',
`role_name` varchar(100) NULL COMMENT '角色名称',
`remark` varchar(100) NULL COMMENT '备注',
`create_user_id` bigint(20) NULL COMMENT '创建者ID',
`create_time` datetime NULL COMMENT '创建时间',
KEY `role_id` (`role_id`),
KEY `role_name` (`role_name`),
KEY `remark` (`remark`),
KEY `create_user_id` (`create_user_id`),
KEY `create_time` (`create_time`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'migo权限管理-角色';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-5 of 5 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
role_id | bigint(20) | 否 | ||||
role_name | varchar(100) | 是 | 角色名称 | |||
remark | varchar(100) | 是 | 备注 | |||
create_user_id | bigint(20) | 是 | 创建者ID | |||
create_time | datetime | 是 | 创建时间 |