MySQL Create Table SQL
Table Structure: okayapi_landi_emergency_problem:/tablelist/okayapi_landi_emergency_problem.html
-- MySQL Table okayapi_landi_emergency_problem
-- From: OkayAPI.com
CREATE TABLE `okayapi_landi_emergency_problem` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`room_num` varchar(255) NULL COMMENT '',
`room_state` varchar(255) NULL COMMENT '',
`guest_name` varchar(255) NULL COMMENT '',
`occur_time` datetime NULL COMMENT '',
`attendance_time` datetime NULL COMMENT '',
`declarant` varchar(15) NULL COMMENT '申请人',
`dealing` varchar(15) NULL COMMENT '处理人',
`damage_detail` varchar(255) NULL COMMENT '',
KEY `room_num` (`room_num`),
KEY `room_state` (`room_state`),
KEY `guest_name` (`guest_name`),
KEY `occur_time` (`occur_time`),
KEY `attendance_time` (`attendance_time`),
KEY `declarant` (`declarant`),
KEY `dealing` (`dealing`),
KEY `damage_detail` (`damage_detail`),
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-8 of 8 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
room_num | varchar(255) | 是 | ||||
room_state | varchar(255) | 是 | ||||
guest_name | varchar(255) | 是 | ||||
occur_time | datetime | 是 | ||||
attendance_time | datetime | 是 | ||||
declarant | varchar(15) | 是 | 申请人 | |||
dealing | varchar(15) | 是 | 处理人 | |||
damage_detail | varchar(255) | 是 |