MySQL Create Table SQL
Table Structure: okayapi_landi_guest_balance:/tablelist/okayapi_landi_guest_balance.html
-- MySQL Table okayapi_landi_guest_balance
-- From: OkayAPI.com
CREATE TABLE `okayapi_landi_guest_balance` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`guest_id` int(10) NULL COMMENT '',
`room_number` varchar(64) NULL COMMENT '',
`charge_turn` int(11) NULL COMMENT '',
`charge_way` varchar(64) NULL COMMENT '',
`return_turn` int(11) NULL COMMENT '',
`invoice_turn` int(11) NULL COMMENT '',
`begin_day` date NULL COMMENT '',
`end_day` date NULL COMMENT '',
`sys_state` int(11) NULL DEFAULT '1' COMMENT '',
KEY `guest_id` (`guest_id`),
KEY `room_number` (`room_number`),
KEY `charge_turn` (`charge_turn`),
KEY `charge_way` (`charge_way`),
KEY `return_turn` (`return_turn`),
KEY `invoice_turn` (`invoice_turn`),
KEY `begin_day` (`begin_day`),
KEY `end_day` (`end_day`),
KEY `sys_state` (`sys_state`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'LD酒店租房管理-访客零钱';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-9 of 9 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
guest_id | int(10) | 是 | Normal Index | |||
room_number | varchar(64) | 是 | Normal Index | |||
charge_turn | int(11) | 是 | ||||
charge_way | varchar(64) | 是 | ||||
return_turn | int(11) | 是 | ||||
invoice_turn | int(11) | 是 | ||||
begin_day | date | 是 | ||||
end_day | date | 是 | ||||
sys_state | int(11) | 1 | 是 | 1 |