MySQL Create Table SQL
Table Structure: okayapi_fl_admin_role:/tablelist/okayapi_fl_admin_role.html
-- MySQL Table okayapi_fl_admin_role
-- From: OkayAPI.com
CREATE TABLE `okayapi_fl_admin_role` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`parent_id` int(11) NOT NULL DEFAULT '0' COMMENT '父角色ID',
`name` varchar(30) NOT NULL COMMENT '角色名',
`desc` varchar(150) NOT NULL COMMENT '描述',
`listorder` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
`status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态,0正常,1禁用',
KEY `parent_id` (`parent_id`),
KEY `name` (`name`),
KEY `desc` (`desc`),
KEY `listorder` (`listorder`),
KEY `status` (`status`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'CMS建站系统-角色表';
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 |
---|---|---|---|---|---|---|
parent_id | int(11) | 0 | 否 | 父角色ID | 0 | |
name | varchar(30) | 否 | 角色名 | |||
desc | varchar(150) | 否 | 描述 | |||
listorder | int(11) | 0 | 否 | 排序 | 0 | |
status | tinyint(1) | 0 | 否 | 状态,0正常,1禁用 | 0 |