+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_zheng_cms_category:/tablelist/okayapi_zheng_cms_category.html


-- MySQL Table okayapi_zheng_cms_category
-- From: OkayAPI.com
CREATE TABLE `okayapi_zheng_cms_category` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `ctime` bigint(20) NULL COMMENT '创建时间',
    `orders` bigint(255) NULL COMMENT '排序',
    `pid` int(10) NULL COMMENT '上级编号',
    `okayapi_zheng_cms_category_level` tinyint(4) NULL COMMENT '层级',
    `okayapi_zheng_cms_category_name` varchar(20) NULL COMMENT '名称',
    `description` varchar(200) NULL COMMENT '描述',
    `icon` varchar(50) NULL COMMENT '图标',
    `okayapi_zheng_cms_category_type` tinyint(3) NULL DEFAULT '1' COMMENT '类型(1:普通,2:热门...)',
    `alias` varchar(20) NULL COMMENT '别名',
    `system_id` int(11) NULL COMMENT '所属系统',
    KEY `ctime` (`ctime`),
    KEY `orders` (`orders`),
    KEY `pid` (`pid`),
    KEY `okayapi_zheng_cms_category_level` (`okayapi_zheng_cms_category_level`),
    KEY `okayapi_zheng_cms_category_name` (`okayapi_zheng_cms_category_name`),
    KEY `description` (`description`),
    KEY `icon` (`icon`),
    KEY `okayapi_zheng_cms_category_type` (`okayapi_zheng_cms_category_type`),
    KEY `alias` (`alias`),
    KEY `system_id` (`system_id`),
    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-10 of 10 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
ctimebigint(20)创建时间
ordersbigint(255)排序Normal Index
pidint(10)上级编号Normal Index
okayapi_zheng_cms_category_leveltinyint(4)层级Normal Index
okayapi_zheng_cms_category_namevarchar(20)名称
descriptionvarchar(200)描述
iconvarchar(50)图标
okayapi_zheng_cms_category_typetinyint(3)1类型(1:普通,2:热门...)1
aliasvarchar(20)别名Normal Index
system_idint(11)所属系统

Guess You Like

MySQL Table Design okayapi_logs

MySQL Table Design okayapi_app_version

MySQL Table Design okayapi_tea

MySQL Table Design okayapi_tea_swiper

MySQL Table Design okayapi_tea_moment

MySQL Table Design okayapi_tea_order

MySQL Table Design okayapi_tea_user

MySQL Table Design okayapi_tea_shopcar

MySQL Table Design okayapi_zheng_cms_article

MySQL Table Design okayapi_zheng_cms_article_category

MySQL Table Design okayapi_zheng_cms_article_tag

MySQL Table Design okayapi_zheng_cms_comment

MySQL Table Design okayapi_zheng_cms_page

MySQL Table Design okayapi_zheng_cms_setting

MySQL Table Design okayapi_zheng_cms_system

MySQL Table Design okayapi_zheng_cms_tag

MySQL Table Design okayapi_zheng_cms_topic

MySQL Table Design okayapi_zheng_pay_in_order

MySQL Table Design okayapi_zheng_pay_in_order_detail

MySQL Table Design okayapi_zheng_pay_mch

TOP ↑