+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_article:/tablelist/okayapi_article.html


-- MySQL Table okayapi_article
-- From: OkayAPI.com
CREATE TABLE `okayapi_article` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `article_title` varchar(1024) NULL COMMENT '文章标题',
    `article_sub_title` varchar(1024) NULL COMMENT '文章副标题',
    `article_author` varchar(100) NULL COMMENT '文章作者',
    `article_content` text NULL COMMENT '文章内容,支持HTML格式',
    `article_post_time` datetime NULL DEFAULT '1970-01-01 00:00:00' COMMENT '文章发表时间',
    `article_view_times` int(10) NULL DEFAULT '0' COMMENT '文章阅读量',
    `article_label` varchar(256) NULL COMMENT '标签',
    KEY `article_title` (`article_title`),
    KEY `article_sub_title` (`article_sub_title`),
    KEY `article_author` (`article_author`),
    KEY `article_content` (`article_content`),
    KEY `article_post_time` (`article_post_time`),
    KEY `article_view_times` (`article_view_times`),
    KEY `article_label` (`article_label`),
    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-7 of 7 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
article_titlevarchar(1024)文章标题
article_sub_titlevarchar(1024)文章副标题
article_authorvarchar(100)文章作者
article_contenttext文章内容,支持HTML格式
article_post_timedatetime1970-01-01 00:00:00文章发表时间1970-01-01 00:00:00
article_view_timesint(10)0文章阅读量0
article_labelvarchar(256)标签

Guess You Like

MySQL Table Design okayapi_message

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_portal_tag_post

MySQL Table Design okayapi_fie_recycle_bin

MySQL Table Design okayapi_fie_role

TOP ↑