+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_fie_portal_category_post:/tablelist/okayapi_fie_portal_category_post.html


-- MySQL Table okayapi_fie_portal_category_post
-- From: OkayAPI.com
CREATE TABLE `okayapi_fie_portal_category_post` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `post_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '文章id',
    `category_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '分类id',
    `list_order` float NOT NULL DEFAULT '10000' COMMENT '排序',
    `okayapi_fie_portal_category_post_status` tinyint(3) NOT NULL DEFAULT '1' COMMENT '状态,1:发布;0:不发布',
    KEY `post_id` (`post_id`),
    KEY `category_id` (`category_id`),
    KEY `list_order` (`list_order`),
    KEY `okayapi_fie_portal_category_post_status` (`okayapi_fie_portal_category_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-4 of 4 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
post_idbigint(20)0文章id0
category_idbigint(20)0分类idNormal Index0
list_orderfloat10000排序10000
okayapi_fie_portal_category_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_post

MySQL Table Design okayapi_fie_portal_tag

MySQL Table Design okayapi_fie_portal_tag_post

MySQL Table Design okayapi_fie_recycle_bin

MySQL Table Design okayapi_fie_role

TOP ↑