+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_category:/tablelist/okayapi_category.html


-- MySQL Table okayapi_category
-- From: OkayAPI.com
CREATE TABLE `okayapi_category` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `title` varchar(128) NULL COMMENT '标题',
    `okayapi_category_type` varchar(16) NULL COMMENT '类型',
    `icon` varchar(255) NULL COMMENT '图标',
    `parent_id` int(11) NULL DEFAULT '0' COMMENT '父节点ID',
    `sort_seq` smallint(6) NULL DEFAULT '0' COMMENT '排序',
    KEY `title` (`title`),
    KEY `okayapi_category_type` (`okayapi_category_type`),
    KEY `icon` (`icon`),
    KEY `parent_id` (`parent_id`),
    KEY `sort_seq` (`sort_seq`),
    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-5 of 5 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
titlevarchar(128)标题
okayapi_category_typevarchar(16)类型
iconvarchar(255)图标
parent_idint(11)0父节点ID0
sort_seqsmallint(6)0排序0

Guess You Like

MySQL Table Design okayapi_nav_menu

MySQL Table Design okayapi_attach

MySQL Table Design okayapi_feature

TOP ↑