+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_fl_menu:/tablelist/okayapi_fl_menu.html


-- MySQL Table okayapi_fl_menu
-- From: OkayAPI.com
CREATE TABLE `okayapi_fl_menu` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `parent_id` int(11) NOT NULL DEFAULT '0' COMMENT '父级ID',
    `module` varchar(50) NOT NULL COMMENT '模型',
    `controller` varchar(50) NOT NULL COMMENT '控制器',
    `action` varchar(50) NOT NULL COMMENT '方法',
    `data` varchar(50) NOT NULL COMMENT '额外参数',
    `type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '菜单类型  1:权限认证+菜单;0:只作为菜单',
    `name` varchar(50) NOT NULL COMMENT '菜单名称',
    `icon` varchar(50) NOT NULL COMMENT '菜单图标',
    `desc` varchar(250) NOT NULL COMMENT '备注',
    `listorder` int(11) NOT NULL DEFAULT '50' COMMENT '排序ID',
    `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态,0正常,1隐藏',
    KEY `parent_id` (`parent_id`),
    KEY `module` (`module`),
    KEY `controller` (`controller`),
    KEY `action` (`action`),
    KEY `data` (`data`),
    KEY `type` (`type`),
    KEY `name` (`name`),
    KEY `icon` (`icon`),
    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-11 of 11 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
parent_idint(11)0父级IDNormal Index0
modulevarchar(50)模型
controllervarchar(50)控制器
actionvarchar(50)方法
datavarchar(50)额外参数
typetinyint(1)0菜单类型 1:权限认证+菜单;0:只作为菜单0
namevarchar(50)菜单名称
iconvarchar(50)菜单图标
descvarchar(250)备注
listorderint(11)50排序ID50
statustinyint(1)0状态,0正常,1隐藏Normal Index0

Guess You Like

MySQL Table Design okayapi_kite_addons

MySQL Table Design okayapi_kite_auth_role

MySQL Table Design okayapi_kite_auth_rule

MySQL Table Design okayapi_kite_auth_user

MySQL Table Design okayapi_kite_block

MySQL Table Design okayapi_kite_document_category

MySQL Table Design okayapi_kite_document_comments

MySQL Table Design okayapi_kite_document_comments_like

MySQL Table Design okayapi_kite_document_content

MySQL Table Design okayapi_kite_document_content_extra

MySQL Table Design okayapi_kite_document_content_like

MySQL Table Design okayapi_kite_document_field

MySQL Table Design okayapi_kite_document_model

MySQL Table Design okayapi_kite_document_model_field

MySQL Table Design okayapi_kite_feedback

MySQL Table Design okayapi_kite_hooks

MySQL Table Design okayapi_kite_language

MySQL Table Design okayapi_kite_link

MySQL Table Design okayapi_kite_log

MySQL Table Design okayapi_kite_message

TOP ↑