MySQL Create Table SQL
Table Structure: okayapi_fie_role_user:/tablelist/okayapi_fie_role_user.html
-- MySQL Table okayapi_fie_role_user
-- From: OkayAPI.com
CREATE TABLE `okayapi_fie_role_user` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`role_id` int(10) NOT NULL DEFAULT '0' COMMENT '角色 id',
`user_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '用户id',
KEY `role_id` (`role_id`),
KEY `user_id` (`user_id`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'fie内容管理-用户角色对应表';
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 |
---|---|---|---|---|---|---|
role_id | int(10) | 0 | 否 | 角色 id | Normal Index | 0 |
user_id | bigint(20) | 0 | 否 | 用户id | Normal Index | 0 |