+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_travel_orders:/tablelist/okayapi_travel_orders.html


-- MySQL Table okayapi_travel_orders
-- From: OkayAPI.com
CREATE TABLE `okayapi_travel_orders` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `seller_id` int(11) NOT NULL DEFAULT '0' COMMENT '销售人员id,0系统自动出票',
    `buyer_id` int(10) NOT NULL DEFAULT '0' COMMENT '买家ID 比如 导游id',
    `depot_id` int(8) NOT NULL DEFAULT '0' COMMENT '入库ID',
    `created` bigint(12) NOT NULL COMMENT '',
    `updated` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `active` int(1) NOT NULL COMMENT '',
    `price` decimal(8,2) NOT NULL COMMENT '',
    KEY `seller_id` (`seller_id`),
    KEY `buyer_id` (`buyer_id`),
    KEY `depot_id` (`depot_id`),
    KEY `created` (`created`),
    KEY `updated` (`updated`),
    KEY `active` (`active`),
    KEY `price` (`price`),
    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-7 of 7 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
seller_idint(11)0销售人员id,0系统自动出票0
buyer_idint(10)0买家ID 比如 导游id0
depot_idint(8)0入库ID0
createdbigint(12)
updatedint(11)00
activeint(1)
pricedecimal(8,2)

Guess You Like

MySQL Table Design okayapi_opentrip_travel_admin

MySQL Table Design okayapi_opentrip_travel_category

MySQL Table Design okayapi_opentrip_travel_order

MySQL Table Design okayapi_opentrip_travel_product

MySQL Table Design okayapi_opentrip_travel_shopcart

MySQL Table Design okayapi_opentrip_travel_user

MySQL Table Design okayapi_travel_agents

MySQL Table Design okayapi_travel_agent_users

MySQL Table Design okayapi_travel_categories

MySQL Table Design okayapi_travel_depots

MySQL Table Design okayapi_travel_depot_annuals

MySQL Table Design okayapi_travel_depot_logs

MySQL Table Design okayapi_travel_depot_staffs

MySQL Table Design okayapi_travel_depot_vouchers

MySQL Table Design okayapi_travel_devices

MySQL Table Design okayapi_travel_exist_statistics

MySQL Table Design okayapi_travel_features

MySQL Table Design okayapi_travel_groups

MySQL Table Design okayapi_travel_staff_exchanges

MySQL Table Design okayapi_travel_users

TOP ↑