+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_travel_agents:/tablelist/okayapi_travel_agents.html


-- MySQL Table okayapi_travel_agents
-- From: OkayAPI.com
CREATE TABLE `okayapi_travel_agents` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `pay_mode` set('prepaid','credit') NOT NULL DEFAULT 'prepaid' COMMENT '预付、信用支付',
    `consume_mode` set('') NOT NULL COMMENT '',
    `discount` double(3,2) NOT NULL DEFAULT '1.00' COMMENT '1表示无折扣',
    `okayapi_travel_agents_name` varchar(200) NOT NULL COMMENT '公司名',
    `active` int(1) NOT NULL DEFAULT '1' COMMENT '默认正常,-1限制出票',
    `remark` varchar(200) NOT NULL COMMENT '备注',
    KEY `pay_mode` (`pay_mode`),
    KEY `consume_mode` (`consume_mode`),
    KEY `discount` (`discount`),
    KEY `okayapi_travel_agents_name` (`okayapi_travel_agents_name`),
    KEY `active` (`active`),
    KEY `remark` (`remark`),
    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-6 of 6 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
pay_modeset('prepaid','credit')prepaid预付、信用支付prepaid
consume_modeset('')
discountdouble(3,2)1.001表示无折扣1.00
okayapi_travel_agents_namevarchar(200)公司名
activeint(1)1默认正常,-1限制出票1
remarkvarchar(200)备注

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_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_orders

MySQL Table Design okayapi_travel_staff_exchanges

MySQL Table Design okayapi_travel_users

TOP ↑