MySQL Create Table SQL
Table Structure: okayapi_lvyou_jee_city_belong:/tablelist/okayapi_lvyou_jee_city_belong.html
-- MySQL Table okayapi_lvyou_jee_city_belong
-- From: OkayAPI.com
CREATE TABLE `okayapi_lvyou_jee_city_belong` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`cid` int(11) NOT NULL COMMENT '',
`sort` int(11) NOT NULL COMMENT '',
`okayapi_lvyou_jee_city_belong_types` varchar(10) NOT NULL COMMENT 'HOTEL,LINE,VIEWPOINT',
`isdefault` int(11) NOT NULL DEFAULT '0' COMMENT '',
`isshow` smallint(2) NOT NULL DEFAULT '0' COMMENT '是否在频道页显示(1:是 0:否)',
KEY `cid` (`cid`),
KEY `sort` (`sort`),
KEY `okayapi_lvyou_jee_city_belong_types` (`okayapi_lvyou_jee_city_belong_types`),
KEY `isdefault` (`isdefault`),
KEY `isshow` (`isshow`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'lvyou旅游-城市';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-5 of 5 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
cid | int(11) | 是 | ||||
sort | int(11) | 是 | ||||
okayapi_lvyou_jee_city_belong_types | varchar(10) | 是 | HOTEL,LINE,VIEWPOINT | |||
isdefault | int(11) | 0 | 是 | 0 | ||
isshow | smallint(2) | 0 | 否 | 是否在频道页显示(1:是 0:否) | 0 |