MySQL Create Table SQL
Table Structure: okayapi_box_forum_topic:/tablelist/okayapi_box_forum_topic.html
-- MySQL Table okayapi_box_forum_topic
-- From: OkayAPI.com
CREATE TABLE `okayapi_box_forum_topic` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`forum_id` bigint(20) NULL COMMENT '',
`title` text NULL COMMENT '',
`slug` varchar(255) NULL COMMENT '',
`status` varchar(100) NULL COMMENT '',
`sticky` tinyint(1) NULL DEFAULT '0' COMMENT '',
`views` int(11) NULL DEFAULT '0' COMMENT '',
KEY `forum_id` (`forum_id`),
KEY `title` (`title`),
KEY `slug` (`slug`),
KEY `status` (`status`),
KEY `sticky` (`sticky`),
KEY `views` (`views`),
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-6 of 6 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
forum_id | bigint(20) | 是 | Normal Index | |||
title | text | 是 | ||||
slug | varchar(255) | 是 | Unique Index | |||
status | varchar(100) | 是 | ||||
sticky | tinyint(1) | 0 | 是 | 0 | ||
views | int(11) | 0 | 是 | 0 |