Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 926–950 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 926 | 208 | 6007 | 2018-06-08 13:27:02 |
| 927 | 208 | 6008 | 2018-06-08 13:27:02 |
| 928 | 208 | 6009 | 2018-06-08 13:27:02 |
| 929 | 208 | 6010 | 2018-06-08 13:27:02 |
| 930 | 208 | 6011 | 2018-06-08 13:27:02 |
| 931 | 208 | 6012 | 2018-06-08 13:27:02 |
| 932 | 208 | 6013 | 2018-06-08 13:27:02 |
| 933 | 208 | 6014 | 2018-06-08 13:27:02 |
| 934 | 193 | 6015 | 2018-06-10 07:07:55 |
| 935 | 197 | 6018 | 2018-06-10 10:59:34 |
| 936 | 197 | 6019 | 2018-06-10 10:59:34 |
| 937 | 197 | 6020 | 2018-06-10 10:59:34 |
| 938 | 194 | 6022 | 2018-06-10 14:46:17 |
| 939 | 195 | 6037 | 2018-06-13 08:46:10 |
| 940 | 195 | 6038 | 2018-06-13 08:46:10 |
| 941 | 195 | 6039 | 2018-06-13 08:46:10 |
| 942 | 195 | 6040 | 2018-06-13 08:46:10 |
| 943 | 195 | 6041 | 2018-06-13 08:46:10 |
| 944 | 198 | 6045 | 2018-06-14 17:30:09 |
| 945 | 202 | 6050 | 2018-06-15 18:00:59 |
| 946 | 202 | 6051 | 2018-06-15 18:00:59 |
| 947 | 196 | 6056 | 2018-06-17 11:15:40 |
| 948 | 196 | 6057 | 2018-06-17 11:15:40 |
| 949 | 196 | 6058 | 2018-06-17 11:15:40 |
| 950 | 196 | 6059 | 2018-06-17 11:15:40 |
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;