+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_kite_document_content_like:/tablelist/okayapi_kite_document_content_like.html


-- MySQL Table okayapi_kite_document_content_like
-- From: OkayAPI.com
CREATE TABLE `okayapi_kite_document_content_like` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `document_id` int(11) NULL COMMENT '文档ID',
    `like` tinyint(1) NULL DEFAULT '0' COMMENT '[顶]',
    `unlike` tinyint(1) NULL DEFAULT '0' COMMENT '[踩]',
    `ip` varchar(32) NULL COMMENT '客户端IP',
    `create_at` int(11) NULL COMMENT '创建时间',
    `update_at` int(11) NULL COMMENT '更新时间',
    KEY `document_id` (`document_id`),
    KEY `like` (`like`),
    KEY `unlike` (`unlike`),
    KEY `ip` (`ip`),
    KEY `create_at` (`create_at`),
    KEY `update_at` (`update_at`),
    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-6 of 6 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
document_idint(11)文档ID
liketinyint(1)0[顶]0
unliketinyint(1)0[踩]0
ipvarchar(32)客户端IP
create_atint(11)创建时间
update_atint(11)更新时间

Guess You Like

MySQL Table Design okayapi_kite_addons

MySQL Table Design okayapi_kite_auth_role

MySQL Table Design okayapi_kite_auth_rule

MySQL Table Design okayapi_kite_auth_user

MySQL Table Design okayapi_kite_block

MySQL Table Design okayapi_kite_document_category

MySQL Table Design okayapi_kite_document_comments

MySQL Table Design okayapi_kite_document_comments_like

MySQL Table Design okayapi_kite_document_content

MySQL Table Design okayapi_kite_document_content_extra

MySQL Table Design okayapi_kite_document_field

MySQL Table Design okayapi_kite_document_model

MySQL Table Design okayapi_kite_document_model_field

MySQL Table Design okayapi_kite_feedback

MySQL Table Design okayapi_kite_hooks

MySQL Table Design okayapi_kite_language

MySQL Table Design okayapi_kite_link

MySQL Table Design okayapi_kite_log

MySQL Table Design okayapi_kite_message

MySQL Table Design okayapi_kite_navigation

TOP ↑