Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,801–1,825 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1801 | 332 | 9384 | 2019-11-10 22:36:40 |
| 1802 | 344 | 9397 | 2019-11-12 20:03:03 |
| 1803 | 344 | 9398 | 2019-11-12 20:03:03 |
| 1804 | 340 | 9403 | 2019-11-13 17:41:45 |
| 1805 | 338 | 9408 | 2019-11-14 19:27:00 |
| 1806 | 338 | 9409 | 2019-11-14 19:27:00 |
| 1807 | 343 | 9410 | 2019-11-15 10:27:16 |
| 1808 | 343 | 9411 | 2019-11-15 10:27:16 |
| 1809 | 355 | 9412 | 2019-11-15 11:20:59 |
| 1810 | 386 | 9417 | 2019-11-16 18:54:33 |
| 1811 | 386 | 9418 | 2019-11-16 18:54:33 |
| 1812 | 341 | 9421 | 2019-11-17 19:21:49 |
| 1813 | 341 | 9422 | 2019-11-17 19:21:49 |
| 1814 | 352 | 9428 | 2019-11-20 09:22:43 |
| 1815 | 352 | 9429 | 2019-11-20 09:22:43 |
| 1816 | 347 | 9434 | 2019-11-20 12:27:42 |
| 1817 | 348 | 9435 | 2019-11-20 19:17:57 |
| 1818 | 348 | 9436 | 2019-11-20 19:17:57 |
| 1819 | 370 | 9448 | 2019-11-21 22:05:03 |
| 1820 | 349 | 9449 | 2019-11-21 22:26:40 |
| 1821 | 349 | 9450 | 2019-11-21 22:26:40 |
| 1822 | 349 | 9451 | 2019-11-21 22:26:40 |
| 1823 | 349 | 9452 | 2019-11-21 22:26:40 |
| 1824 | 349 | 9453 | 2019-11-21 22:26:40 |
| 1825 | 345 | 9454 | 2019-11-22 07:38:28 |
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;