Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,926–1,950 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1926 | 398 | 9639 | 2020-01-03 21:03:13 |
| 1927 | 397 | 9640 | 2020-01-04 10:20:47 |
| 1928 | 418 | 9644 | 2020-01-06 21:38:55 |
| 1929 | 418 | 9645 | 2020-01-06 21:38:55 |
| 1930 | 405 | 9648 | 2020-01-07 18:42:18 |
| 1931 | 405 | 9649 | 2020-01-07 18:42:18 |
| 1932 | 406 | 9650 | 2020-01-07 20:00:41 |
| 1933 | 406 | 9651 | 2020-01-07 20:00:41 |
| 1934 | 410 | 9653 | 2020-01-08 16:44:30 |
| 1935 | 402 | 9654 | 2020-01-08 23:21:14 |
| 1936 | 402 | 9655 | 2020-01-08 23:21:14 |
| 1937 | 408 | 9659 | 2020-01-10 17:43:21 |
| 1938 | 408 | 9660 | 2020-01-10 17:43:21 |
| 1939 | 408 | 9661 | 2020-01-10 17:43:21 |
| 1940 | 421 | 9664 | 2020-01-11 11:27:00 |
| 1941 | 421 | 9665 | 2020-01-11 11:27:00 |
| 1942 | 407 | 9666 | 2020-01-12 14:40:29 |
| 1943 | 407 | 9667 | 2020-01-12 14:40:29 |
| 1944 | 407 | 9668 | 2020-01-12 14:40:29 |
| 1945 | 411 | 9669 | 2020-01-13 12:33:27 |
| 1946 | 411 | 9670 | 2020-01-13 12:33:27 |
| 1947 | 411 | 9671 | 2020-01-13 12:33:27 |
| 1948 | 411 | 9672 | 2020-01-13 12:33:27 |
| 1949 | 409 | 9673 | 2020-01-14 07:48:35 |
| 1950 | 409 | 9674 | 2020-01-14 07:48:35 |
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;