Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,326–1,350 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1326 | 271 | 7565 | 2019-01-31 12:13:23 |
| 1327 | 271 | 7566 | 2019-01-31 12:13:23 |
| 1328 | 271 | 7567 | 2019-01-31 12:13:23 |
| 1329 | 271 | 7568 | 2019-01-31 12:13:23 |
| 1330 | 271 | 7569 | 2019-01-31 12:13:23 |
| 1331 | 271 | 7570 | 2019-01-31 12:13:23 |
| 1332 | 271 | 7571 | 2019-01-31 12:13:23 |
| 1333 | 271 | 7572 | 2019-01-31 12:13:23 |
| 1334 | 271 | 7573 | 2019-01-31 12:13:23 |
| 1335 | 248 | 7640 | 2019-02-13 08:42:37 |
| 1336 | 248 | 7641 | 2019-02-13 08:42:37 |
| 1337 | 248 | 7642 | 2019-02-13 08:42:37 |
| 1338 | 248 | 7643 | 2019-02-13 08:42:37 |
| 1339 | 255 | 7646 | 2019-02-16 08:19:57 |
| 1340 | 255 | 7647 | 2019-02-16 08:19:57 |
| 1341 | 255 | 7648 | 2019-02-16 08:19:57 |
| 1342 | 255 | 7649 | 2019-02-16 08:19:57 |
| 1343 | 255 | 7650 | 2019-02-16 08:19:57 |
| 1344 | 242 | 7716 | 2019-02-20 11:25:36 |
| 1345 | 242 | 7717 | 2019-02-20 11:25:36 |
| 1346 | 238 | 7719 | 2019-02-21 23:47:11 |
| 1347 | 241 | 7736 | 2019-02-28 11:33:56 |
| 1348 | 241 | 7737 | 2019-02-28 11:33:56 |
| 1349 | 241 | 7738 | 2019-02-28 11:33:56 |
| 1350 | 246 | 7739 | 2019-02-28 17:19:08 |
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;