Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,501–1,525 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1501 | 291 | 8482 | 2019-07-05 11:14:26 |
| 1502 | 291 | 8483 | 2019-07-05 11:14:26 |
| 1503 | 291 | 8484 | 2019-07-05 11:14:26 |
| 1504 | 291 | 8485 | 2019-07-05 11:14:26 |
| 1505 | 291 | 8486 | 2019-07-05 11:14:26 |
| 1506 | 291 | 8487 | 2019-07-05 11:14:26 |
| 1507 | 291 | 8488 | 2019-07-05 11:14:26 |
| 1508 | 291 | 8489 | 2019-07-05 11:14:26 |
| 1509 | 291 | 8490 | 2019-07-05 11:14:26 |
| 1510 | 291 | 8491 | 2019-07-05 11:14:26 |
| 1511 | 291 | 8492 | 2019-07-05 11:14:26 |
| 1512 | 291 | 8493 | 2019-07-05 11:14:26 |
| 1513 | 284 | 8510 | 2019-07-09 08:05:02 |
| 1514 | 284 | 8511 | 2019-07-09 08:05:02 |
| 1515 | 286 | 8517 | 2019-07-09 23:47:17 |
| 1516 | 292 | 8523 | 2019-07-10 19:26:46 |
| 1517 | 292 | 8524 | 2019-07-10 19:26:46 |
| 1518 | 292 | 8525 | 2019-07-10 19:26:46 |
| 1519 | 292 | 8526 | 2019-07-10 19:26:46 |
| 1520 | 289 | 8550 | 2019-07-13 10:24:10 |
| 1521 | 289 | 8551 | 2019-07-13 10:24:10 |
| 1522 | 290 | 8597 | 2019-07-23 11:26:47 |
| 1523 | 293 | 8598 | 2019-07-23 20:00:09 |
| 1524 | 294 | 8641 | 2019-07-26 19:35:23 |
| 1525 | 294 | 8642 | 2019-07-26 19:35:23 |
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;