Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,851–1,875 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1851 | 372 | 9507 | 2019-12-04 19:04:15 |
| 1852 | 380 | 9508 | 2019-12-05 13:48:37 |
| 1853 | 380 | 9509 | 2019-12-05 13:48:37 |
| 1854 | 358 | 9512 | 2019-12-05 16:51:46 |
| 1855 | 358 | 9513 | 2019-12-05 16:51:46 |
| 1856 | 358 | 9514 | 2019-12-05 16:51:46 |
| 1857 | 360 | 9515 | 2019-12-06 13:40:36 |
| 1858 | 360 | 9516 | 2019-12-06 13:40:36 |
| 1859 | 369 | 9517 | 2019-12-06 21:51:34 |
| 1860 | 369 | 9518 | 2019-12-06 21:51:34 |
| 1861 | 359 | 9521 | 2019-12-07 11:29:50 |
| 1862 | 359 | 9522 | 2019-12-07 11:29:50 |
| 1863 | 359 | 9523 | 2019-12-07 11:29:50 |
| 1864 | 391 | 9524 | 2019-12-07 23:45:20 |
| 1865 | 391 | 9525 | 2019-12-07 23:45:20 |
| 1866 | 364 | 9528 | 2019-12-09 22:46:12 |
| 1867 | 364 | 9529 | 2019-12-09 22:46:12 |
| 1868 | 362 | 9530 | 2019-12-10 10:29:12 |
| 1869 | 362 | 9531 | 2019-12-10 10:29:12 |
| 1870 | 365 | 9537 | 2019-12-13 17:24:19 |
| 1871 | 365 | 9538 | 2019-12-13 17:24:19 |
| 1872 | 373 | 9539 | 2019-12-13 20:45:54 |
| 1873 | 366 | 9541 | 2019-12-14 12:03:23 |
| 1874 | 371 | 9547 | 2019-12-15 08:13:01 |
| 1875 | 371 | 9548 | 2019-12-15 08:13:01 |
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;