MySQL Create Table SQL
Table Structure: okayapi_zheng_cms_tag:/tablelist/okayapi_zheng_cms_tag.html
-- MySQL Table okayapi_zheng_cms_tag
-- From: OkayAPI.com
CREATE TABLE `okayapi_zheng_cms_tag` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`okayapi_zheng_cms_tag_name` varchar(20) NOT NULL COMMENT '名称',
`description` varchar(200) NOT NULL COMMENT '描述',
`icon` varchar(50) NOT NULL COMMENT '图标',
`okayapi_zheng_cms_tag_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '类型(1:普通,2:热门...)',
`alias` varchar(20) NOT NULL COMMENT '别名',
`system_id` int(11) NOT NULL COMMENT '所属系统',
`ctime` bigint(20) NOT NULL COMMENT '创建时间',
`orders` bigint(20) NOT NULL COMMENT '排序',
KEY `okayapi_zheng_cms_tag_name` (`okayapi_zheng_cms_tag_name`),
KEY `description` (`description`),
KEY `icon` (`icon`),
KEY `okayapi_zheng_cms_tag_type` (`okayapi_zheng_cms_tag_type`),
KEY `alias` (`alias`),
KEY `system_id` (`system_id`),
KEY `ctime` (`ctime`),
KEY `orders` (`orders`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'zheng敏捷开发-标签表';
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 Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
okayapi_zheng_cms_tag_name | varchar(20) | 否 | 名称 | |||
description | varchar(200) | 是 | 描述 | |||
icon | varchar(50) | 是 | 图标 | |||
okayapi_zheng_cms_tag_type | tinyint(4) | 1 | 否 | 类型(1:普通,2:热门...) | 1 | |
alias | varchar(20) | 是 | 别名 | Normal Index | ||
system_id | int(11) | 是 | 所属系统 | |||
ctime | bigint(20) | 否 | 创建时间 | |||
orders | bigint(20) | 否 | 排序 | Normal Index |