MySQL Create Table SQL
Table Structure: okayapi_72crm_admin_menu:/tablelist/okayapi_72crm_admin_menu.html
-- MySQL Table okayapi_72crm_admin_menu
-- From: OkayAPI.com
CREATE TABLE `okayapi_72crm_admin_menu` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`menu_id` int(11) NULL COMMENT '菜单ID',
`parent_id` int(11) NULL DEFAULT '0' COMMENT '上级菜单ID',
`menu_name` varchar(32) NULL COMMENT '菜单名称',
`realm` varchar(127) NULL COMMENT '链接地址',
`menu_type` int(1) NULL COMMENT '菜单类型 1目录 2 菜单 3 按钮 4特殊',
`sort` int(4) NULL DEFAULT '0' COMMENT '排序(同级有效)',
`okayapi_72crm_admin_menu_status` int(4) NULL DEFAULT '1' COMMENT '状态 1 启用 0 禁用',
`remarks` varchar(255) NULL COMMENT '菜单说明',
KEY `menu_id` (`menu_id`),
KEY `parent_id` (`parent_id`),
KEY `menu_name` (`menu_name`),
KEY `realm` (`realm`),
KEY `menu_type` (`menu_type`),
KEY `sort` (`sort`),
KEY `okayapi_72crm_admin_menu_status` (`okayapi_72crm_admin_menu_status`),
KEY `remarks` (`remarks`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'CRM-后台菜单表';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-8 of 8 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
menu_id | int(11) | 否 | 菜单ID | |||
parent_id | int(11) | 0 | 是 | 上级菜单ID | 0 | |
menu_name | varchar(32) | 是 | 菜单名称 | |||
realm | varchar(127) | 是 | 链接地址 | |||
menu_type | int(1) | 是 | 菜单类型 1目录 2 菜单 3 按钮 4特殊 | |||
sort | int(4) | 0 | 是 | 排序(同级有效) | 0 | |
okayapi_72crm_admin_menu_status | int(4) | 1 | 是 | 状态 1 启用 0 禁用 | 1 | |
remarks | varchar(255) | 是 | 菜单说明 |