Lines 1216-1221
CREATE TABLE `bookings` (
Link Here
|
1216 |
`pickup_library_id` varchar(10) NOT NULL COMMENT 'Identifier for booking pickup library', |
1216 |
`pickup_library_id` varchar(10) NOT NULL COMMENT 'Identifier for booking pickup library', |
1217 |
`start_date` datetime DEFAULT NULL COMMENT 'the start date of the booking', |
1217 |
`start_date` datetime DEFAULT NULL COMMENT 'the start date of the booking', |
1218 |
`end_date` datetime DEFAULT NULL COMMENT 'the end date of the booking', |
1218 |
`end_date` datetime DEFAULT NULL COMMENT 'the end date of the booking', |
|
|
1219 |
`status` enum('created', 'cancelled') NOT NULL DEFAULT 'created' COMMENT 'current status of the booking', |
1219 |
PRIMARY KEY (`booking_id`), |
1220 |
PRIMARY KEY (`booking_id`), |
1220 |
KEY `patron_id` (`patron_id`), |
1221 |
KEY `patron_id` (`patron_id`), |
1221 |
KEY `biblio_id` (`biblio_id`), |
1222 |
KEY `biblio_id` (`biblio_id`), |
1222 |
- |
|
|