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