Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,951–1,975 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1951 | 412 | 9677 | 2020-01-14 13:35:21 |
| 1952 | 412 | 9678 | 2020-01-14 13:35:21 |
| 1953 | 412 | 9679 | 2020-01-14 13:35:21 |
| 1954 | 412 | 9680 | 2020-01-14 13:35:21 |
| 1955 | 412 | 9681 | 2020-01-14 13:35:21 |
| 1956 | 415 | 9682 | 2020-01-15 10:48:16 |
| 1957 | 415 | 9683 | 2020-01-15 10:48:16 |
| 1958 | 434 | 9690 | 2020-01-17 18:41:48 |
| 1959 | 434 | 9691 | 2020-01-17 18:41:48 |
| 1960 | 434 | 9692 | 2020-01-17 18:41:48 |
| 1961 | 413 | 9693 | 2020-01-18 08:19:28 |
| 1962 | 413 | 9694 | 2020-01-18 08:19:28 |
| 1963 | 417 | 9698 | 2020-01-18 14:00:45 |
| 1964 | 414 | 9701 | 2020-01-19 21:17:06 |
| 1965 | 414 | 9702 | 2020-01-19 21:17:06 |
| 1966 | 416 | 9711 | 2020-01-22 07:58:08 |
| 1967 | 420 | 9712 | 2020-01-22 09:42:47 |
| 1968 | 420 | 9713 | 2020-01-22 09:42:47 |
| 1969 | 419 | 9714 | 2020-01-22 12:19:30 |
| 1970 | 419 | 9715 | 2020-01-22 12:19:30 |
| 1971 | 422 | 9726 | 2020-01-24 20:08:55 |
| 1972 | 422 | 9727 | 2020-01-24 20:08:55 |
| 1973 | 422 | 9728 | 2020-01-24 20:08:55 |
| 1974 | 422 | 9729 | 2020-01-24 20:08:55 |
| 1975 | 422 | 9730 | 2020-01-24 20:08:55 |
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;