+ Use This Table All Design

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 NameField TypeDefaultIS NULLField CommentIndexDemo Data
tag_idbigint(20)0标签 id0
post_idbigint(20)0文章 idNormal Index0
okayapi_fie_portal_tag_post_statustinyint(3)1状态,1:发布;0:不发布1

Guess You Like

MySQL Table Design okayapi_message

MySQL Table Design okayapi_article

MySQL Table Design okayapi_fie_admin_menu

MySQL Table Design okayapi_fie_asset

MySQL Table Design okayapi_fie_auth_access

MySQL Table Design okayapi_fie_auth_rule

MySQL Table Design okayapi_fie_comment

MySQL Table Design okayapi_fie_hook

MySQL Table Design okayapi_fie_hook_plugin

MySQL Table Design okayapi_fie_link

MySQL Table Design okayapi_fie_nav

MySQL Table Design okayapi_fie_nav_menu

MySQL Table Design okayapi_fie_option

MySQL Table Design okayapi_fie_plugin

MySQL Table Design okayapi_fie_portal_category

MySQL Table Design okayapi_fie_portal_category_post

MySQL Table Design okayapi_fie_portal_post

MySQL Table Design okayapi_fie_portal_tag

MySQL Table Design okayapi_fie_recycle_bin

MySQL Table Design okayapi_fie_role

TOP ↑