+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_shopxo_s_order_status_history:/tablelist/okayapi_shopxo_s_order_status_history.html


-- MySQL Table okayapi_shopxo_s_order_status_history
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_order_status_history` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `order_id` int(11) NOT NULL DEFAULT '0' COMMENT '订单id',
    `original_status` varchar(60) NOT NULL COMMENT '原始状态',
    `new_status` varchar(60) NOT NULL COMMENT '最新状态',
    `msg` varchar(255) NOT NULL COMMENT '操作描述',
    `creator` int(11) NOT NULL DEFAULT '0' COMMENT '创建-用户id',
    `creator_name` varchar(60) NOT NULL COMMENT '创建人-姓名',
    KEY `order_id` (`order_id`),
    KEY `original_status` (`original_status`),
    KEY `new_status` (`new_status`),
    KEY `msg` (`msg`),
    KEY `creator` (`creator`),
    KEY `creator_name` (`creator_name`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'ShopXO商城-订单状态历史纪录';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-6 of 6 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
order_idint(11)0订单idNormal Index0
original_statusvarchar(60)原始状态Normal Index
new_statusvarchar(60)最新状态Normal Index
msgvarchar(255)操作描述
creatorint(11)0创建-用户id0
creator_namevarchar(60)创建人-姓名

Guess You Like

MySQL Table Design okayapi_goods

MySQL Table Design okayapi_goods_comment

MySQL Table Design okayapi_shopxo_s_admin

MySQL Table Design okayapi_shopxo_s_answer

MySQL Table Design okayapi_shopxo_s_app_center_nav

MySQL Table Design okayapi_shopxo_s_app_home_nav

MySQL Table Design okayapi_shopxo_s_article

MySQL Table Design okayapi_shopxo_s_article_category

MySQL Table Design okayapi_shopxo_s_attachment

MySQL Table Design okayapi_shopxo_s_brand

MySQL Table Design okayapi_shopxo_s_brand_category

MySQL Table Design okayapi_shopxo_s_cart

MySQL Table Design okayapi_shopxo_s_config

MySQL Table Design okayapi_shopxo_s_custom_view

MySQL Table Design okayapi_shopxo_s_express

MySQL Table Design okayapi_shopxo_s_goods

MySQL Table Design okayapi_shopxo_s_goods_browse

MySQL Table Design okayapi_shopxo_s_goods_category

MySQL Table Design okayapi_shopxo_s_goods_category_join

MySQL Table Design okayapi_shopxo_s_goods_comments

TOP ↑