Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,426–1,450 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1426 | 256 | 7987 | 2019-04-04 22:09:44 |
| 1427 | 274 | 8046 | 2019-04-12 07:49:15 |
| 1428 | 274 | 8047 | 2019-04-12 07:49:15 |
| 1429 | 259 | 8051 | 2019-04-12 15:04:10 |
| 1430 | 259 | 8052 | 2019-04-12 15:04:10 |
| 1431 | 259 | 8053 | 2019-04-12 15:04:10 |
| 1432 | 259 | 8054 | 2019-04-12 15:04:10 |
| 1433 | 259 | 8055 | 2019-04-12 15:04:10 |
| 1434 | 263 | 8056 | 2019-04-12 20:39:20 |
| 1435 | 262 | 8082 | 2019-04-15 15:37:54 |
| 1436 | 264 | 8107 | 2019-04-22 07:06:51 |
| 1437 | 264 | 8108 | 2019-04-22 07:06:51 |
| 1438 | 267 | 8115 | 2019-04-22 21:12:27 |
| 1439 | 267 | 8116 | 2019-04-22 21:12:27 |
| 1440 | 265 | 8131 | 2019-04-24 11:40:18 |
| 1441 | 265 | 8132 | 2019-04-24 11:40:18 |
| 1442 | 268 | 8143 | 2019-04-29 13:26:51 |
| 1443 | 266 | 8150 | 2019-04-30 09:13:01 |
| 1444 | 266 | 8151 | 2019-04-30 09:13:01 |
| 1445 | 266 | 8152 | 2019-04-30 09:13:01 |
| 1446 | 275 | 8163 | 2019-05-02 18:03:49 |
| 1447 | 270 | 8196 | 2019-05-08 18:44:35 |
| 1448 | 270 | 8197 | 2019-05-08 18:44:35 |
| 1449 | 269 | 8208 | 2019-05-12 10:17:13 |
| 1450 | 269 | 8209 | 2019-05-12 10:17:13 |
Table definition
CREATE TABLE exhibition_booking (
booking_id INTEGER PRIMARY KEY,
slot_id INTEGER NOT NULL REFERENCES exhibition_slot (slot_id),
ticket_id INTEGER NOT NULL REFERENCES ticket (ticket_id),
booked_at TEXT NOT NULL,
UNIQUE (slot_id, ticket_id)
) STRICT;