MySQL Create Table SQL
Table Structure: okayapi_ry_sys_post:/tablelist/okayapi_ry_sys_post.html
-- MySQL Table okayapi_ry_sys_post
-- From: OkayAPI.com
CREATE TABLE `okayapi_ry_sys_post` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`post_id` bigint(20) NULL COMMENT '岗位ID',
`post_code` varchar(64) NULL COMMENT '岗位编码',
`post_name` varchar(50) NULL COMMENT '岗位名称',
`post_sort` int(4) NULL COMMENT '显示顺序',
`okayapi_ry_sys_post_status` char(1) NULL COMMENT '状态(0正常 1停用)',
`create_by` varchar(64) NULL COMMENT '创建者',
`create_time` datetime NULL COMMENT '创建时间',
`update_by` varchar(64) NULL COMMENT '更新者',
`remark` varchar(500) NULL COMMENT '备注',
KEY `post_id` (`post_id`),
KEY `post_code` (`post_code`),
KEY `post_name` (`post_name`),
KEY `post_sort` (`post_sort`),
KEY `okayapi_ry_sys_post_status` (`okayapi_ry_sys_post_status`),
KEY `create_by` (`create_by`),
KEY `create_time` (`create_time`),
KEY `update_by` (`update_by`),
KEY `remark` (`remark`),
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-9 of 9 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
post_id | bigint(20) | 否 | 岗位ID | |||
post_code | varchar(64) | 否 | 岗位编码 | |||
post_name | varchar(50) | 否 | 岗位名称 | |||
post_sort | int(4) | 否 | 显示顺序 | |||
okayapi_ry_sys_post_status | char(1) | 否 | 状态(0正常 1停用) | |||
create_by | varchar(64) | 是 | 创建者 | |||
create_time | datetime | 是 | 创建时间 | |||
update_by | varchar(64) | 是 | 更新者 | |||
remark | varchar(500) | 是 | 备注 |