Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,476–1,500 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1476 | 282 | 8446 | 2019-06-28 15:59:39 |
| 1477 | 282 | 8447 | 2019-06-28 15:59:39 |
| 1478 | 283 | 8456 | 2019-07-04 10:05:25 |
| 1479 | 283 | 8457 | 2019-07-04 10:05:25 |
| 1480 | 283 | 8458 | 2019-07-04 10:05:25 |
| 1481 | 283 | 8459 | 2019-07-04 10:05:25 |
| 1482 | 291 | 8463 | 2019-07-05 11:14:26 |
| 1483 | 291 | 8464 | 2019-07-05 11:14:26 |
| 1484 | 291 | 8465 | 2019-07-05 11:14:26 |
| 1485 | 291 | 8466 | 2019-07-05 11:14:26 |
| 1486 | 291 | 8467 | 2019-07-05 11:14:26 |
| 1487 | 291 | 8468 | 2019-07-05 11:14:26 |
| 1488 | 291 | 8469 | 2019-07-05 11:14:26 |
| 1489 | 291 | 8470 | 2019-07-05 11:14:26 |
| 1490 | 291 | 8471 | 2019-07-05 11:14:26 |
| 1491 | 291 | 8472 | 2019-07-05 11:14:26 |
| 1492 | 291 | 8473 | 2019-07-05 11:14:26 |
| 1493 | 291 | 8474 | 2019-07-05 11:14:26 |
| 1494 | 291 | 8475 | 2019-07-05 11:14:26 |
| 1495 | 291 | 8476 | 2019-07-05 11:14:26 |
| 1496 | 291 | 8477 | 2019-07-05 11:14:26 |
| 1497 | 291 | 8478 | 2019-07-05 11:14:26 |
| 1498 | 291 | 8479 | 2019-07-05 11:14:26 |
| 1499 | 291 | 8480 | 2019-07-05 11:14:26 |
| 1500 | 291 | 8481 | 2019-07-05 11:14:26 |
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;