MySQL Create Table SQL
Table Structure: okayapi_opms_pms_albums:/tablelist/okayapi_opms_pms_albums.html
-- MySQL Table okayapi_opms_pms_albums
-- From: OkayAPI.com
CREATE TABLE `okayapi_opms_pms_albums` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(20) NULL COMMENT '',
`title` varchar(255) NULL COMMENT '文章标题',
`picture` varchar(255) NULL COMMENT 'Picture',
`keywords` varchar(2550) NULL COMMENT '关键词',
`summary` varchar(255) NULL COMMENT '',
`created` int(10) NULL DEFAULT '0' COMMENT '发布时间',
`viewnum` int(10) NULL DEFAULT '0' COMMENT '阅读数',
`comtnum` int(10) NULL DEFAULT '0' COMMENT '评论数',
`laudnum` int(10) NULL DEFAULT '0' COMMENT '赞数',
`okayapi_opms_pms_albums_status` tinyint(1) NULL DEFAULT '1' COMMENT '状态: 1发布0屏蔽',
KEY `userid` (`userid`),
KEY `title` (`title`),
KEY `picture` (`picture`),
KEY `keywords` (`keywords`),
KEY `summary` (`summary`),
KEY `created` (`created`),
KEY `viewnum` (`viewnum`),
KEY `comtnum` (`comtnum`),
KEY `laudnum` (`laudnum`),
KEY `okayapi_opms_pms_albums_status` (`okayapi_opms_pms_albums_status`),
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-10 of 10 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
userid | bigint(20) | 是 | Normal Index | |||
title | varchar(255) | 否 | 文章标题 | |||
picture | varchar(255) | 是 | Picture | |||
keywords | varchar(2550) | 是 | 关键词 | |||
summary | varchar(255) | 是 | ||||
created | int(10) | 0 | 是 | 发布时间 | 0 | |
viewnum | int(10) | 0 | 是 | 阅读数 | 0 | |
comtnum | int(10) | 0 | 是 | 评论数 | 0 | |
laudnum | int(10) | 0 | 是 | 赞数 | 0 | |
okayapi_opms_pms_albums_status | tinyint(1) | 1 | 是 | 状态: 1发布0屏蔽 | 1 |