MySQL Create Table SQL
Table Structure: okayapi_shopxo_s_navigation:/tablelist/okayapi_shopxo_s_navigation.html
-- MySQL Table okayapi_shopxo_s_navigation
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_navigation` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`pid` int(11) NOT NULL DEFAULT '0' COMMENT '父id',
`okayapi_shopxo_s_navigation_name` char(30) NOT NULL COMMENT '导航名称',
`url` char(255) NOT NULL COMMENT 'url地址',
`okayapi_shopxo_s_navigation_value` int(11) NOT NULL DEFAULT '0' COMMENT '分类id',
`data_type` char(30) NOT NULL COMMENT '数据类型(custom:自定义导航, article_class:文章分类, customview:自定义页面)',
`nav_type` char(30) NOT NULL COMMENT '导航类型(header:顶部导航, footer:底部导航)',
`sort` tinyint(3) NOT NULL DEFAULT '0' COMMENT '排序',
`is_show` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否显示(0否,1是)',
`is_new_window_open` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否新窗口打开(0否,1是)',
`upd_time` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间',
KEY `pid` (`pid`),
KEY `okayapi_shopxo_s_navigation_name` (`okayapi_shopxo_s_navigation_name`),
KEY `url` (`url`),
KEY `okayapi_shopxo_s_navigation_value` (`okayapi_shopxo_s_navigation_value`),
KEY `data_type` (`data_type`),
KEY `nav_type` (`nav_type`),
KEY `sort` (`sort`),
KEY `is_show` (`is_show`),
KEY `is_new_window_open` (`is_new_window_open`),
KEY `upd_time` (`upd_time`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'ShopXO商城-导航';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-10 of 10 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
pid | int(11) | 0 | 否 | 父id | Normal Index | 0 |
okayapi_shopxo_s_navigation_name | char(30) | 否 | 导航名称 | |||
url | char(255) | 否 | url地址 | |||
okayapi_shopxo_s_navigation_value | int(11) | 0 | 否 | 分类id | 0 | |
data_type | char(30) | 否 | 数据类型(custom:自定义导航, article_class:文章分类, customview:自定义页面) | |||
nav_type | char(30) | 否 | 导航类型(header:顶部导航, footer:底部导航) | Normal Index | ||
sort | tinyint(3) | 0 | 否 | 排序 | Normal Index | 0 |
is_show | tinyint(1) | 1 | 否 | 是否显示(0否,1是) | Normal Index | 1 |
is_new_window_open | tinyint(1) | 0 | 否 | 是否新窗口打开(0否,1是) | 0 | |
upd_time | int(11) | 0 | 否 | 更新时间 | 0 |