MySQL Create Table SQL
Table Structure: okayapi_fie_role:/tablelist/okayapi_fie_role.html
-- MySQL Table okayapi_fie_role
-- From: OkayAPI.com
CREATE TABLE `okayapi_fie_role` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`parent_id` int(10) NOT NULL DEFAULT '0' COMMENT '父角色ID',
`okayapi_fie_role_status` tinyint(3) NOT NULL DEFAULT '0' COMMENT '状态;0:禁用;1:正常',
`create_time` int(10) NOT NULL DEFAULT '0' COMMENT '创建时间',
`list_order` float NOT NULL DEFAULT '0' COMMENT '排序',
`okayapi_fie_role_name` varchar(20) NOT NULL COMMENT '角色名称',
`remark` varchar(255) NOT NULL COMMENT '备注',
KEY `parent_id` (`parent_id`),
KEY `okayapi_fie_role_status` (`okayapi_fie_role_status`),
KEY `create_time` (`create_time`),
KEY `list_order` (`list_order`),
KEY `okayapi_fie_role_name` (`okayapi_fie_role_name`),
KEY `remark` (`remark`),
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-6 of 6 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
parent_id | int(10) | 0 | 否 | 父角色ID | Normal Index | 0 |
okayapi_fie_role_status | tinyint(3) | 0 | 否 | 状态;0:禁用;1:正常 | Normal Index | 0 |
create_time | int(10) | 0 | 否 | 创建时间 | 0 | |
list_order | float | 0 | 否 | 排序 | 0 | |
okayapi_fie_role_name | varchar(20) | 否 | 角色名称 | |||
remark | varchar(255) | 否 | 备注 |