Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,726–1,750 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1726 | 375 | 9266 | 2019-10-19 17:07:10 |
| 1727 | 375 | 9267 | 2019-10-19 17:07:10 |
| 1728 | 375 | 9268 | 2019-10-19 17:07:10 |
| 1729 | 375 | 9269 | 2019-10-19 17:07:10 |
| 1730 | 375 | 9270 | 2019-10-19 17:07:10 |
| 1731 | 375 | 9271 | 2019-10-19 17:07:10 |
| 1732 | 375 | 9272 | 2019-10-19 17:07:10 |
| 1733 | 375 | 9273 | 2019-10-19 17:07:10 |
| 1734 | 375 | 9274 | 2019-10-19 17:07:10 |
| 1735 | 375 | 9275 | 2019-10-19 17:07:10 |
| 1736 | 375 | 9276 | 2019-10-19 17:07:10 |
| 1737 | 375 | 9277 | 2019-10-19 17:07:10 |
| 1738 | 375 | 9278 | 2019-10-19 17:07:10 |
| 1739 | 375 | 9279 | 2019-10-19 17:07:10 |
| 1740 | 375 | 9280 | 2019-10-19 17:07:10 |
| 1741 | 375 | 9281 | 2019-10-19 17:07:10 |
| 1742 | 375 | 9282 | 2019-10-19 17:07:10 |
| 1743 | 375 | 9283 | 2019-10-19 17:07:10 |
| 1744 | 375 | 9284 | 2019-10-19 17:07:10 |
| 1745 | 375 | 9285 | 2019-10-19 17:07:10 |
| 1746 | 376 | 9286 | 2019-10-19 17:07:10 |
| 1747 | 376 | 9287 | 2019-10-19 17:07:10 |
| 1748 | 376 | 9288 | 2019-10-19 17:07:10 |
| 1749 | 376 | 9289 | 2019-10-19 17:07:10 |
| 1750 | 376 | 9290 | 2019-10-19 17:07:10 |
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;