MySQL Create Table SQL
Table Structure: okayapi_landi_laundry:/tablelist/okayapi_landi_laundry.html
-- MySQL Table okayapi_landi_laundry
-- From: OkayAPI.com
CREATE TABLE `okayapi_landi_laundry` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`okayapi_landi_laundry_date` date NULL COMMENT '',
`room_num` varchar(64) NULL COMMENT '',
`guest_id` int(11) NULL COMMENT '',
`guest_name` varchar(64) NULL COMMENT '',
`clothes` varchar(1024) NULL DEFAULT '[]' COMMENT '',
`other` varchar(1024) NULL DEFAULT '[]' COMMENT '',
`count` int(11) NULL DEFAULT '0' COMMENT '',
`total_price` int(11) NULL DEFAULT '0' COMMENT '',
`occur_time` datetime NULL COMMENT '',
`import_time` datetime NULL COMMENT '',
`edit_time` datetime NULL COMMENT '',
KEY `okayapi_landi_laundry_date` (`okayapi_landi_laundry_date`),
KEY `room_num` (`room_num`),
KEY `guest_id` (`guest_id`),
KEY `guest_name` (`guest_name`),
KEY `clothes` (`clothes`),
KEY `other` (`other`),
KEY `count` (`count`),
KEY `total_price` (`total_price`),
KEY `occur_time` (`occur_time`),
KEY `import_time` (`import_time`),
KEY `edit_time` (`edit_time`),
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-11 of 11 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
okayapi_landi_laundry_date | date | 是 | ||||
room_num | varchar(64) | 是 | ||||
guest_id | int(11) | 是 | ||||
guest_name | varchar(64) | 是 | ||||
clothes | varchar(1024) | [] | 是 | [] | ||
other | varchar(1024) | [] | 是 | [] | ||
count | int(11) | 0 | 是 | 0 | ||
total_price | int(11) | 0 | 是 | 0 | ||
occur_time | datetime | 是 | ||||
import_time | datetime | 是 | ||||
edit_time | datetime | 是 |