MySQL Create Table SQL
Table Structure: okayapi_lvyou_jee_recommend:/tablelist/okayapi_lvyou_jee_recommend.html
-- MySQL Table okayapi_lvyou_jee_recommend
-- From: OkayAPI.com
CREATE TABLE `okayapi_lvyou_jee_recommend` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`obj_id` int(11) NOT NULL DEFAULT '0' COMMENT '目标项目的ID',
`okayapi_lvyou_jee_recommend_type` varchar(50) NOT NULL COMMENT '推荐项目类型(酒店、景点、路线等)',
`rec_type` smallint(2) NOT NULL DEFAULT '1' COMMENT '推荐类型(1:特价推荐 2:热门推荐)',
`money` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '特价或热门价',
`pic` varchar(150) NOT NULL COMMENT '图片路径',
`content` varchar(1000) NOT NULL COMMENT '推荐内容',
`sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
`okayapi_lvyou_jee_recommend_status` smallint(2) NOT NULL DEFAULT '1' COMMENT '状态(1:前台可见 2:前台不可见)',
KEY `obj_id` (`obj_id`),
KEY `okayapi_lvyou_jee_recommend_type` (`okayapi_lvyou_jee_recommend_type`),
KEY `rec_type` (`rec_type`),
KEY `money` (`money`),
KEY `pic` (`pic`),
KEY `content` (`content`),
KEY `sort` (`sort`),
KEY `okayapi_lvyou_jee_recommend_status` (`okayapi_lvyou_jee_recommend_status`),
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-8 of 8 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
obj_id | int(11) | 0 | 否 | 目标项目的ID | 0 | |
okayapi_lvyou_jee_recommend_type | varchar(50) | 否 | 推荐项目类型(酒店、景点、路线等) | |||
rec_type | smallint(2) | 1 | 否 | 推荐类型(1:特价推荐 2:热门推荐) | 1 | |
money | decimal(10,2) | 0.00 | 否 | 特价或热门价 | 0.00 | |
pic | varchar(150) | 否 | 图片路径 | |||
content | varchar(1000) | 是 | 推荐内容 | |||
sort | int(11) | 0 | 否 | 排序 | 0 | |
okayapi_lvyou_jee_recommend_status | smallint(2) | 1 | 否 | 状态(1:前台可见 2:前台不可见) | 1 |