+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_travel_depot_annuals:/tablelist/okayapi_travel_depot_annuals.html


-- MySQL Table okayapi_travel_depot_annuals
-- From: OkayAPI.com
CREATE TABLE `okayapi_travel_depot_annuals` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `depot_id` int(11) NOT NULL COMMENT '',
    `okayapi_travel_depot_annuals_name` varchar(32) NOT NULL COMMENT '姓名',
    `card_no` varchar(32) NOT NULL DEFAULT '0' COMMENT '身份证',
    `mobile` varchar(20) NOT NULL DEFAULT '0' COMMENT '电话',
    `valid_for` int(11) NOT NULL DEFAULT '1' COMMENT '年限',
    `created` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `updated` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `active` int(11) NOT NULL DEFAULT '0' COMMENT '-1为作废',
    KEY `depot_id` (`depot_id`),
    KEY `okayapi_travel_depot_annuals_name` (`okayapi_travel_depot_annuals_name`),
    KEY `card_no` (`card_no`),
    KEY `mobile` (`mobile`),
    KEY `valid_for` (`valid_for`),
    KEY `created` (`created`),
    KEY `updated` (`updated`),
    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-8 of 8 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
depot_idint(11)Normal Index
okayapi_travel_depot_annuals_namevarchar(32)姓名
card_novarchar(32)0身份证0
mobilevarchar(20)0电话0
valid_forint(11)1年限1
createdint(11)00
updatedint(11)00
activeint(11)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_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 ↑