MySQL Create Table SQL
Table Structure: okayapi_landi_room_item:/tablelist/okayapi_landi_room_item.html
-- MySQL Table okayapi_landi_room_item
-- From: OkayAPI.com
CREATE TABLE `okayapi_landi_room_item` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`room_num` varchar(64) NULL COMMENT '',
`fac_id` int(11) NULL COMMENT '',
`tag` varchar(64) NULL COMMENT '',
`allocate_type` varchar(10) NULL COMMENT '分配、借用、-(新维修时生成的)',
`state` varchar(11) NULL COMMENT '维修中0 使用中1',
`borrow_date` date NULL COMMENT '',
`return_date` date NULL COMMENT '',
`maintain_duration` int(11) NULL COMMENT '维修时长(天)',
`comm` varchar(64) NULL COMMENT '',
KEY `room_num` (`room_num`),
KEY `fac_id` (`fac_id`),
KEY `tag` (`tag`),
KEY `allocate_type` (`allocate_type`),
KEY `state` (`state`),
KEY `borrow_date` (`borrow_date`),
KEY `return_date` (`return_date`),
KEY `maintain_duration` (`maintain_duration`),
KEY `comm` (`comm`),
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 |
---|---|---|---|---|---|---|
room_num | varchar(64) | 是 | Normal Index | |||
fac_id | int(11) | 是 | Normal Index | |||
tag | varchar(64) | 是 | ||||
allocate_type | varchar(10) | 是 | 分配、借用、-(新维修时生成的) | |||
state | varchar(11) | 是 | 维修中0 使用中1 | |||
borrow_date | date | 是 | ||||
return_date | date | 是 | ||||
maintain_duration | int(11) | 是 | 维修时长(天) | |||
comm | varchar(64) | 是 |