MySQL Create Table SQL
Table Structure: okayapi_nav_menu:/tablelist/okayapi_nav_menu.html
-- MySQL Table okayapi_nav_menu
-- From: OkayAPI.com
CREATE TABLE `okayapi_nav_menu` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(128) NULL COMMENT '',
`description` varchar(255) NULL COMMENT '',
`menu_type` varchar(16) NULL COMMENT '',
`link` varchar(255) NULL COMMENT '链接',
`icon` varchar(255) NULL COMMENT '图标',
`sort_seq` smallint(6) NULL DEFAULT '0' COMMENT '排序',
KEY `title` (`title`),
KEY `description` (`description`),
KEY `menu_type` (`menu_type`),
KEY `link` (`link`),
KEY `icon` (`icon`),
KEY `sort_seq` (`sort_seq`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '导航菜单';
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 |
---|---|---|---|---|---|---|
title | varchar(128) | 是 | ||||
description | varchar(255) | 是 | ||||
menu_type | varchar(16) | 是 | ||||
link | varchar(255) | 是 | 链接 | |||
icon | varchar(255) | 是 | 图标 | |||
sort_seq | smallint(6) | 0 | 是 | 排序 | 0 |