MySQL Create Table SQL
Table Structure: okayapi_shopxo_s_link:/tablelist/okayapi_shopxo_s_link.html
-- MySQL Table okayapi_shopxo_s_link
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_link` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`okayapi_shopxo_s_link_name` char(30) NOT NULL COMMENT '导航名称',
`url` char(255) NOT NULL COMMENT 'url地址',
`okayapi_shopxo_s_link_describe` char(60) NOT NULL COMMENT '描述',
`sort` tinyint(3) NOT NULL DEFAULT '0' COMMENT '排序',
`is_enable` 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 `okayapi_shopxo_s_link_name` (`okayapi_shopxo_s_link_name`),
KEY `url` (`url`),
KEY `okayapi_shopxo_s_link_describe` (`okayapi_shopxo_s_link_describe`),
KEY `sort` (`sort`),
KEY `is_enable` (`is_enable`),
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-7 of 7 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
okayapi_shopxo_s_link_name | char(30) | 否 | 导航名称 | |||
url | char(255) | 否 | url地址 | |||
okayapi_shopxo_s_link_describe | char(60) | 否 | 描述 | |||
sort | tinyint(3) | 0 | 否 | 排序 | Normal Index | 0 |
is_enable | tinyint(1) | 1 | 否 | 是否启用(0否,1是) | Normal Index | 1 |
is_new_window_open | tinyint(1) | 0 | 否 | 是否新窗口打开(0否,1是) | 0 | |
upd_time | int(11) | 0 | 否 | 更新时间 | 0 |