+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_travel_devices:/tablelist/okayapi_travel_devices.html


-- MySQL Table okayapi_travel_devices
-- From: OkayAPI.com
CREATE TABLE `okayapi_travel_devices` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `device_sid` varchar(50) NOT NULL COMMENT '设备号',
    `okayapi_travel_devices_name` varchar(100) NOT NULL COMMENT '',
    `okayapi_travel_devices_type` set('seller','exit','gates') NOT NULL DEFAULT 'gates' COMMENT '闸机,出口、销售终端',
    `created` bigint(12) NOT NULL COMMENT '',
    `active` int(1) NOT NULL DEFAULT '0' COMMENT '-1锁定',
    KEY `device_sid` (`device_sid`),
    KEY `okayapi_travel_devices_name` (`okayapi_travel_devices_name`),
    KEY `okayapi_travel_devices_type` (`okayapi_travel_devices_type`),
    KEY `created` (`created`),
    KEY `active` (`active`),
    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
device_sidvarchar(50)设备号
okayapi_travel_devices_namevarchar(100)
okayapi_travel_devices_typeset('seller','exit','gates')gates闸机,出口、销售终端gates
createdbigint(12)
activeint(1)0-1锁定0

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