MySQL Create Table SQL
Table Structure: okayapi_ry_sys_user_post:/tablelist/okayapi_ry_sys_user_post.html
-- MySQL Table okayapi_ry_sys_user_post
-- From: OkayAPI.com
CREATE TABLE `okayapi_ry_sys_user_post` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) NOT NULL COMMENT '用户ID',
`post_id` bigint(20) NOT NULL COMMENT '岗位ID',
KEY `user_id` (`user_id`),
KEY `post_id` (`post_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 Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
user_id | bigint(20) | 否 | 用户ID | |||
post_id | bigint(20) | 否 | 岗位ID |