MySQL Create Table SQL
Table Structure: okayapi_fie_portal_tag_post:/tablelist/okayapi_fie_portal_tag_post.html
-- MySQL Table okayapi_fie_portal_tag_post
-- From: OkayAPI.com
CREATE TABLE `okayapi_fie_portal_tag_post` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`tag_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '标签 id',
`post_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '文章 id',
`okayapi_fie_portal_tag_post_status` tinyint(3) NOT NULL DEFAULT '1' COMMENT '状态,1:发布;0:不发布',
KEY `tag_id` (`tag_id`),
KEY `post_id` (`post_id`),
KEY `okayapi_fie_portal_tag_post_status` (`okayapi_fie_portal_tag_post_status`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'fie内容管理-portal应用 标签文章对应表';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-3 of 3 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
tag_id | bigint(20) | 0 | 否 | 标签 id | 0 | |
post_id | bigint(20) | 0 | 否 | 文章 id | Normal Index | 0 |
okayapi_fie_portal_tag_post_status | tinyint(3) | 1 | 否 | 状态,1:发布;0:不发布 | 1 |