Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,601–1,625 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1601 | 367 | 8969 | 2019-09-11 10:27:08 |
| 1602 | 367 | 8970 | 2019-09-11 10:27:08 |
| 1603 | 367 | 8971 | 2019-09-11 10:27:08 |
| 1604 | 367 | 8972 | 2019-09-11 10:27:08 |
| 1605 | 367 | 8973 | 2019-09-11 10:27:08 |
| 1606 | 367 | 8974 | 2019-09-11 10:27:08 |
| 1607 | 367 | 8975 | 2019-09-11 10:27:08 |
| 1608 | 367 | 8976 | 2019-09-11 10:27:08 |
| 1609 | 367 | 8977 | 2019-09-11 10:27:08 |
| 1610 | 367 | 8978 | 2019-09-11 10:27:08 |
| 1611 | 367 | 8979 | 2019-09-11 10:27:08 |
| 1612 | 367 | 8980 | 2019-09-11 10:27:08 |
| 1613 | 367 | 8981 | 2019-09-11 10:27:08 |
| 1614 | 367 | 8982 | 2019-09-11 10:27:08 |
| 1615 | 367 | 8983 | 2019-09-11 10:27:08 |
| 1616 | 367 | 8984 | 2019-09-11 10:27:08 |
| 1617 | 367 | 8985 | 2019-09-11 10:27:08 |
| 1618 | 367 | 8986 | 2019-09-11 10:27:08 |
| 1619 | 367 | 8987 | 2019-09-11 10:27:08 |
| 1620 | 367 | 8988 | 2019-09-11 10:27:08 |
| 1621 | 367 | 8989 | 2019-09-11 10:27:08 |
| 1622 | 367 | 8990 | 2019-09-11 10:27:08 |
| 1623 | 367 | 8991 | 2019-09-11 10:27:08 |
| 1624 | 367 | 8992 | 2019-09-11 10:27:08 |
| 1625 | 367 | 8993 | 2019-09-11 10:27: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;