+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_article_cate:/tablelist/okayapi_article_cate.html


-- MySQL Table okayapi_article_cate
-- From: OkayAPI.com
CREATE TABLE `okayapi_article_cate` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `title` varchar(50) NOT NULL COMMENT '标题',
    `sort` int(5) NOT NULL DEFAULT '0' COMMENT '排序',
    `level` tinyint(1) NOT NULL DEFAULT '1' COMMENT '级别',
    `pid` int(50) NOT NULL DEFAULT '0' COMMENT '上级id',
    `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态',
    KEY `title` (`title`),
    KEY `sort` (`sort`),
    KEY `level` (`level`),
    KEY `pid` (`pid`),
    KEY `status` (`status`),
    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-5 of 5 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
titlevarchar(50)标题
sortint(5)0排序0
leveltinyint(1)1级别1
pidint(50)0上级id0
statustinyint(4)1状态1

Guess You Like

MySQL Table Design okayapi_seo_article

MySQL Table Design okayapi_article_ad

MySQL Table Design okayapi_article_tag

MySQL Table Design okayapi_article_map

MySQL Table Design okayapi_access

MySQL Table Design okayapi_comment

MySQL Table Design okayapi_document

MySQL Table Design okayapi_function

MySQL Table Design okayapi_login

MySQL Table Design okayapi_moment

MySQL Table Design okayapi_praise

MySQL Table Design okayapi_request

MySQL Table Design okayapi_response

MySQL Table Design okayapi_test_record

MySQL Table Design okayapi_verify

MySQL Table Design okayapi_apijson_privacy

MySQL Table Design okayapi_apijson_user

TOP ↑