MySQL Create Table SQL
Table Structure: okayapi_openant_bbs_posting:/tablelist/okayapi_openant_bbs_posting.html
-- MySQL Table okayapi_openant_bbs_posting
-- From: OkayAPI.com
CREATE TABLE `okayapi_openant_bbs_posting` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`posting_id` int(11) NOT NULL COMMENT '',
`plate_id` int(11) NOT NULL COMMENT '',
`user_id` int(11) NOT NULL COMMENT '',
`ip` varchar(128) NOT NULL COMMENT '',
`agent` varchar(255) NOT NULL COMMENT '',
`is_top` tinyint(1) NOT NULL DEFAULT '0' COMMENT '',
`is_view` tinyint(1) NOT NULL COMMENT '',
`very_good` tinyint(1) NOT NULL DEFAULT '0' COMMENT '',
`date_added` datetime NOT NULL COMMENT '',
KEY `posting_id` (`posting_id`),
KEY `plate_id` (`plate_id`),
KEY `user_id` (`user_id`),
KEY `ip` (`ip`),
KEY `agent` (`agent`),
KEY `is_top` (`is_top`),
KEY `is_view` (`is_view`),
KEY `very_good` (`very_good`),
KEY `date_added` (`date_added`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'openant电商-论坛帖子';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-9 of 9 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
posting_id | int(11) | 否 | ||||
plate_id | int(11) | 否 | ||||
user_id | int(11) | 否 | ||||
ip | varchar(128) | 否 | ||||
agent | varchar(255) | 否 | ||||
is_top | tinyint(1) | 0 | 否 | 0 | ||
is_view | tinyint(1) | 否 | ||||
very_good | tinyint(1) | 0 | 否 | 0 | ||
date_added | datetime | 否 |