MySQL Create Table SQL
Table Structure: okayapi_article_tag:/tablelist/okayapi_article_tag.html
-- MySQL Table okayapi_article_tag
-- From: OkayAPI.com
CREATE TABLE `okayapi_article_tag` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(20) NOT NULL COMMENT '标题',
`sort` int(10) NOT NULL DEFAULT '0' COMMENT '排序',
`status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态',
KEY `title` (`title`),
KEY `sort` (`sort`),
KEY `status` (`status`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '文章标签表';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-3 of 3 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
title | varchar(20) | 否 | 标题 | |||
sort | int(10) | 0 | 否 | 排序 | 0 | |
status | tinyint(4) | 1 | 否 | 状态 | 1 |