MySQL Create Table SQL
Table Structure: okayapi_lvyou_jee_notice:/tablelist/okayapi_lvyou_jee_notice.html
-- MySQL Table okayapi_lvyou_jee_notice
-- From: OkayAPI.com
CREATE TABLE `okayapi_lvyou_jee_notice` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(100) NOT NULL COMMENT '',
`start_time` int(11) NOT NULL COMMENT '',
`end_time` int(11) NOT NULL COMMENT '',
`create_time` int(11) NOT NULL COMMENT '',
`content` text NOT NULL COMMENT '',
`hits` int(11) NOT NULL DEFAULT '0' COMMENT '',
`sort` int(11) NOT NULL DEFAULT '0' COMMENT '',
`okayapi_lvyou_jee_notice_status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '',
KEY `title` (`title`),
KEY `start_time` (`start_time`),
KEY `end_time` (`end_time`),
KEY `create_time` (`create_time`),
KEY `content` (`content`),
KEY `hits` (`hits`),
KEY `sort` (`sort`),
KEY `okayapi_lvyou_jee_notice_status` (`okayapi_lvyou_jee_notice_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 |
---|---|---|---|---|---|---|
title | varchar(100) | 否 | ||||
start_time | int(11) | 是 | ||||
end_time | int(11) | 是 | ||||
create_time | int(11) | 否 | ||||
content | text | 是 | ||||
hits | int(11) | 0 | 否 | 0 | ||
sort | int(11) | 0 | 否 | 0 | ||
okayapi_lvyou_jee_notice_status | tinyint(1) | 1 | 否 | 1 |