+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_message:/tablelist/okayapi_message.html


-- MySQL Table okayapi_message
-- From: OkayAPI.com
CREATE TABLE `okayapi_message` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `message_nickname` varchar(50) NULL COMMENT '留言用户名',
    `message_content` text NULL COMMENT '留言内容,支持HTML格式',
    `message_post_time` datetime NULL COMMENT '留言时间,默认为当前时间',
    `message_pid` int(10) NULL DEFAULT '0' COMMENT '嵌套评论时的父级评论ID,没有时为0',
    `message_key` varchar(64) NULL COMMENT '评论的唯一标识,例如某篇文章',
    KEY `message_nickname` (`message_nickname`),
    KEY `message_content` (`message_content`),
    KEY `message_post_time` (`message_post_time`),
    KEY `message_pid` (`message_pid`),
    KEY `message_key` (`message_key`),
    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
message_nicknamevarchar(50)留言用户名小白君
message_contenttext留言内容,支持HTML格式这里可以填写留言内容
message_post_timedatetime留言时间,默认为当前时间2018-08-08 08:08:08
message_pidint(10)0嵌套评论时的父级评论ID,没有时为00
message_keyvarchar(64)评论的唯一标识,例如某篇文章Normal Indexarticle_888

Guess You Like

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_portal_tag_post

MySQL Table Design okayapi_fie_recycle_bin

MySQL Table Design okayapi_fie_role

TOP ↑