+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_travel_depot_vouchers:/tablelist/okayapi_travel_depot_vouchers.html


-- MySQL Table okayapi_travel_depot_vouchers
-- From: OkayAPI.com
CREATE TABLE `okayapi_travel_depot_vouchers` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `depot_id` int(9) NOT NULL COMMENT '',
    `voucher_type` set('barcode','fingerprint','rfid','idcard','qrcode') NOT NULL DEFAULT 'barcode' COMMENT '条型码、二维码、身份证、rfid、指纹、',
    `voucher_number` varchar(100) NOT NULL COMMENT '',
    KEY `depot_id` (`depot_id`),
    KEY `voucher_type` (`voucher_type`),
    KEY `voucher_number` (`voucher_number`),
    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-3 of 3 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
depot_idint(9)Normal Index
voucher_typeset('barcode','fingerprint','rfid','idcard','qrcode')barcode条型码、二维码、身份证、rfid、指纹、barcode
voucher_numbervarchar(100)

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