MySQL Create Table SQL
Table Structure: okayapi_fie_portal_tag:/tablelist/okayapi_fie_portal_tag.html
-- MySQL Table okayapi_fie_portal_tag
-- From: OkayAPI.com
CREATE TABLE `okayapi_fie_portal_tag` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`okayapi_fie_portal_tag_status` tinyint(3) NOT NULL DEFAULT '1' COMMENT '状态,1:发布,0:不发布',
`recommended` tinyint(3) NOT NULL DEFAULT '0' COMMENT '是否推荐;1:推荐;0:不推荐',
`post_count` bigint(20) NOT NULL DEFAULT '0' COMMENT '标签文章数',
`okayapi_fie_portal_tag_name` varchar(20) NOT NULL COMMENT '标签名称',
KEY `okayapi_fie_portal_tag_status` (`okayapi_fie_portal_tag_status`),
KEY `recommended` (`recommended`),
KEY `post_count` (`post_count`),
KEY `okayapi_fie_portal_tag_name` (`okayapi_fie_portal_tag_name`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'fie内容管理-portal应用 文章标签表';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-4 of 4 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
okayapi_fie_portal_tag_status | tinyint(3) | 1 | 否 | 状态,1:发布,0:不发布 | 1 | |
recommended | tinyint(3) | 0 | 否 | 是否推荐;1:推荐;0:不推荐 | 0 | |
post_count | bigint(20) | 0 | 否 | 标签文章数 | 0 | |
okayapi_fie_portal_tag_name | varchar(20) | 否 | 标签名称 |