+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_opms_pms_knowledges:/tablelist/okayapi_opms_pms_knowledges.html


-- MySQL Table okayapi_opms_pms_knowledges
-- From: OkayAPI.com
CREATE TABLE `okayapi_opms_pms_knowledges` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `userid` bigint(20) NULL COMMENT '用户ID',
    `sortid` bigint(20) NULL COMMENT '分类ID',
    `title` varchar(100) NULL COMMENT '标题',
    `tag` varchar(100) NULL COMMENT '标签',
    `summary` varchar(255) NULL COMMENT '简介',
    `url` varchar(255) NULL COMMENT 'URL',
    `color` varchar(10) NULL COMMENT '标题颜色',
    `content` text NULL COMMENT '正文',
    `viewnum` int(10) NULL DEFAULT '0' COMMENT '浏览数',
    `comtnum` int(10) NULL DEFAULT '0' COMMENT '评论数',
    `laudnum` int(10) NULL DEFAULT '0' COMMENT '赞数',
    `ispublis` tinyint(1) NULL DEFAULT '1' COMMENT '1发布2草稿',
    `okayapi_opms_pms_knowledges_status` tinyint(1) NULL DEFAULT '1' COMMENT '1正常2屏蔽',
    `created` int(10) NULL COMMENT '',
    `okayapi_opms_pms_knowledges_changed` int(10) NULL COMMENT '',
    KEY `userid` (`userid`),
    KEY `sortid` (`sortid`),
    KEY `title` (`title`),
    KEY `tag` (`tag`),
    KEY `summary` (`summary`),
    KEY `url` (`url`),
    KEY `color` (`color`),
    KEY `content` (`content`),
    KEY `viewnum` (`viewnum`),
    KEY `comtnum` (`comtnum`),
    KEY `laudnum` (`laudnum`),
    KEY `ispublis` (`ispublis`),
    KEY `okayapi_opms_pms_knowledges_status` (`okayapi_opms_pms_knowledges_status`),
    KEY `created` (`created`),
    KEY `okayapi_opms_pms_knowledges_changed` (`okayapi_opms_pms_knowledges_changed`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'OPMS和OA管理-知识分享表';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-15 of 15 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
useridbigint(20)用户ID
sortidbigint(20)分类ID
titlevarchar(100)标题
tagvarchar(100)标签
summaryvarchar(255)简介
urlvarchar(255)URL
colorvarchar(10)标题颜色
contenttext正文
viewnumint(10)0浏览数0
comtnumint(10)0评论数0
laudnumint(10)0赞数0
ispublistinyint(1)11发布2草稿1
okayapi_opms_pms_knowledges_statustinyint(1)11正常2屏蔽1
createdint(10)
okayapi_opms_pms_knowledges_changedint(10)

Guess You Like

MySQL Table Design okayapi_opms_pms_albums

MySQL Table Design okayapi_opms_pms_albums_comment

MySQL Table Design okayapi_opms_pms_albums_laud

MySQL Table Design okayapi_opms_pms_businesstrips

MySQL Table Design okayapi_opms_pms_businesstrips_approver

MySQL Table Design okayapi_opms_pms_checkworks

MySQL Table Design okayapi_opms_pms_departs

MySQL Table Design okayapi_opms_pms_expenses

MySQL Table Design okayapi_opms_pms_expenses_approver

MySQL Table Design okayapi_opms_pms_goouts

MySQL Table Design okayapi_opms_pms_goouts_approver

MySQL Table Design okayapi_opms_pms_groups

MySQL Table Design okayapi_opms_pms_groups_permission

MySQL Table Design okayapi_opms_pms_groups_user

MySQL Table Design okayapi_opms_pms_knowledges_comment

MySQL Table Design okayapi_opms_pms_knowledges_laud

MySQL Table Design okayapi_opms_pms_knowledges_sort

MySQL Table Design okayapi_opms_pms_leaves

MySQL Table Design okayapi_opms_pms_leaves_approver

MySQL Table Design okayapi_opms_pms_messages

TOP ↑