MySQL Create Table SQL
Table Structure: okayapi_fie_admin_menu:/tablelist/okayapi_fie_admin_menu.html
-- MySQL Table okayapi_fie_admin_menu
-- From: OkayAPI.com
CREATE TABLE `okayapi_fie_admin_menu` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`parent_id` int(10) NOT NULL DEFAULT '0' COMMENT '父菜单id',
`okayapi_fie_admin_menu_type` tinyint(3) NOT NULL DEFAULT '1' COMMENT '菜单类型;1:有界面可访问菜单,2:无界面可访问菜单,0:只作为菜单',
`okayapi_fie_admin_menu_status` tinyint(3) NOT NULL DEFAULT '0' COMMENT '状态;1:显示,0:不显示',
`list_order` float NOT NULL DEFAULT '10000' COMMENT '排序',
`app` varchar(40) NOT NULL COMMENT '应用名',
`controller` varchar(30) NOT NULL COMMENT '控制器名',
`okayapi_fie_admin_menu_action` varchar(30) NOT NULL COMMENT '操作名称',
`param` varchar(50) NOT NULL COMMENT '额外参数',
`okayapi_fie_admin_menu_name` varchar(30) NOT NULL COMMENT '菜单名称',
`icon` varchar(20) NOT NULL COMMENT '菜单图标',
`remark` varchar(255) NOT NULL COMMENT '备注',
KEY `parent_id` (`parent_id`),
KEY `okayapi_fie_admin_menu_type` (`okayapi_fie_admin_menu_type`),
KEY `okayapi_fie_admin_menu_status` (`okayapi_fie_admin_menu_status`),
KEY `list_order` (`list_order`),
KEY `app` (`app`),
KEY `controller` (`controller`),
KEY `okayapi_fie_admin_menu_action` (`okayapi_fie_admin_menu_action`),
KEY `param` (`param`),
KEY `okayapi_fie_admin_menu_name` (`okayapi_fie_admin_menu_name`),
KEY `icon` (`icon`),
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-11 of 11 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
parent_id | int(10) | 0 | 否 | 父菜单id | Normal Index | 0 |
okayapi_fie_admin_menu_type | tinyint(3) | 1 | 否 | 菜单类型;1:有界面可访问菜单,2:无界面可访问菜单,0:只作为菜单 | 1 | |
okayapi_fie_admin_menu_status | tinyint(3) | 0 | 否 | 状态;1:显示,0:不显示 | Normal Index | 0 |
list_order | float | 10000 | 否 | 排序 | 10000 | |
app | varchar(40) | 否 | 应用名 | |||
controller | varchar(30) | 否 | 控制器名 | Normal Index | ||
okayapi_fie_admin_menu_action | varchar(30) | 否 | 操作名称 | |||
param | varchar(50) | 否 | 额外参数 | |||
okayapi_fie_admin_menu_name | varchar(30) | 否 | 菜单名称 | |||
icon | varchar(20) | 否 | 菜单图标 | |||
remark | varchar(255) | 否 | 备注 |