+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_opms_pms_messages:/tablelist/okayapi_opms_pms_messages.html


-- MySQL Table okayapi_opms_pms_messages
-- From: OkayAPI.com
CREATE TABLE `okayapi_opms_pms_messages` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `userid` bigint(20) NULL COMMENT '',
    `touserid` bigint(20) NULL COMMENT '',
    `okayapi_opms_pms_messages_type` tinyint(2) NULL COMMENT '类型1评论2赞3审批',
    `subtype` tinyint(3) NULL COMMENT '11知识评论12相册评论21知识赞22相册赞31请假审批32加班33报销34出差35外出36物品',
    `title` varchar(200) NULL COMMENT '',
    `url` varchar(200) NULL COMMENT '',
    `okayapi_opms_pms_messages_view` tinyint(1) NULL DEFAULT '1' COMMENT '1未看,2已看',
    `created` int(10) NULL COMMENT '',
    KEY `userid` (`userid`),
    KEY `touserid` (`touserid`),
    KEY `okayapi_opms_pms_messages_type` (`okayapi_opms_pms_messages_type`),
    KEY `subtype` (`subtype`),
    KEY `title` (`title`),
    KEY `url` (`url`),
    KEY `okayapi_opms_pms_messages_view` (`okayapi_opms_pms_messages_view`),
    KEY `created` (`created`),
    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-8 of 8 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
useridbigint(20)
touseridbigint(20)
okayapi_opms_pms_messages_typetinyint(2)类型1评论2赞3审批
subtypetinyint(3)11知识评论12相册评论21知识赞22相册赞31请假审批32加班33报销34出差35外出36物品
titlevarchar(200)
urlvarchar(200)
okayapi_opms_pms_messages_viewtinyint(1)11未看,2已看1
createdint(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

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

TOP ↑