MySQL Create Table SQL
Table Structure: okayapi_opentrip_travel_category:/tablelist/okayapi_opentrip_travel_category.html
-- MySQL Table okayapi_opentrip_travel_category
-- From: OkayAPI.com
CREATE TABLE `okayapi_opentrip_travel_category` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`okayapi_opentrip_travel_category_name` varchar(20) NOT NULL COMMENT '分类名',
`pid` int(10) NOT NULL COMMENT '父分类ID',
KEY `okayapi_opentrip_travel_category_name` (`okayapi_opentrip_travel_category_name`),
KEY `pid` (`pid`),
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-2 of 2 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
okayapi_opentrip_travel_category_name | varchar(20) | 否 | 分类名 | |||
pid | int(10) | 否 | 父分类ID |