+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_smpss_category:/tablelist/okayapi_smpss_category.html


-- MySQL Table okayapi_smpss_category
-- From: OkayAPI.com
CREATE TABLE `okayapi_smpss_category` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `cat_id` int(10) NOT NULL COMMENT '',
    `cat_name` varchar(100) NOT NULL COMMENT '',
    `pid` int(10) NOT NULL COMMENT '父ID',
    `is_show` tinyint(1) NOT NULL COMMENT '是否显示',
    `sort_seq` tinyint(1) NOT NULL COMMENT '排序',
    KEY `cat_id` (`cat_id`),
    KEY `cat_name` (`cat_name`),
    KEY `pid` (`pid`),
    KEY `is_show` (`is_show`),
    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
cat_idint(10)
cat_namevarchar(100)
pidint(10)父ID
is_showtinyint(1)是否显示
sort_seqtinyint(1)排序

Guess You Like

MySQL Table Design okayapi_smpss_admin

MySQL Table Design okayapi_smpss_goods

MySQL Table Design okayapi_smpss_group

MySQL Table Design okayapi_smpss_log

MySQL Table Design okayapi_smpss_mbgroup

MySQL Table Design okayapi_smpss_member

MySQL Table Design okayapi_smpss_purchase

MySQL Table Design okayapi_smpss_region

MySQL Table Design okayapi_smpss_sales

MySQL Table Design okayapi_smpss_system

MySQL Table Design okayapi_smpss_tempsales

MySQL Table Design okayapi_dberp_accounts_receivable

MySQL Table Design okayapi_dberp_accounts_receivable_log

MySQL Table Design okayapi_dberp_admin

MySQL Table Design okayapi_dberp_admin_group

MySQL Table Design okayapi_dberp_app

MySQL Table Design okayapi_dberp_brand

MySQL Table Design okayapi_dberp_customer

MySQL Table Design okayapi_dberp_customer_category

MySQL Table Design okayapi_dberp_finance_payable

TOP ↑