MySQL Create Table SQL
Table Structure: okayapi_landi_daily_service:/tablelist/okayapi_landi_daily_service.html
-- MySQL Table okayapi_landi_daily_service
-- From: OkayAPI.com
CREATE TABLE `okayapi_landi_daily_service` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`okayapi_landi_daily_service_type` int(11) NULL COMMENT '',
`room_number` varchar(64) NULL COMMENT '',
`guest_id` int(11) NULL COMMENT '',
`guest_name` varchar(64) NULL COMMENT '',
`item` varchar(64) NULL COMMENT '',
`count` int(11) NULL COMMENT '',
`money` double NULL COMMENT '',
`okayapi_landi_daily_service_comment` varchar(128) NULL COMMENT '',
`rtime` datetime NULL COMMENT '',
`sys_state` int(11) NULL DEFAULT '1' COMMENT '',
KEY `okayapi_landi_daily_service_type` (`okayapi_landi_daily_service_type`),
KEY `room_number` (`room_number`),
KEY `guest_id` (`guest_id`),
KEY `guest_name` (`guest_name`),
KEY `item` (`item`),
KEY `count` (`count`),
KEY `money` (`money`),
KEY `okayapi_landi_daily_service_comment` (`okayapi_landi_daily_service_comment`),
KEY `rtime` (`rtime`),
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-10 of 10 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
okayapi_landi_daily_service_type | int(11) | 是 | ||||
room_number | varchar(64) | 否 | Normal Index | |||
guest_id | int(11) | 否 | ||||
guest_name | varchar(64) | 否 | ||||
item | varchar(64) | 是 | ||||
count | int(11) | 是 | ||||
money | double | 是 | ||||
okayapi_landi_daily_service_comment | varchar(128) | 是 | ||||
rtime | datetime | 是 | ||||
sys_state | int(11) | 1 | 是 | 1 |