Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,126–1,150 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1126 | 224 | 7044 | 2018-11-12 10:11:40 |
| 1127 | 224 | 7045 | 2018-11-12 10:11:40 |
| 1128 | 224 | 7046 | 2018-11-12 10:11:40 |
| 1129 | 239 | 7085 | 2018-11-21 11:56:32 |
| 1130 | 239 | 7086 | 2018-11-21 11:56:32 |
| 1131 | 239 | 7087 | 2018-11-21 11:56:32 |
| 1132 | 239 | 7088 | 2018-11-21 11:56:32 |
| 1133 | 239 | 7089 | 2018-11-21 11:56:32 |
| 1134 | 239 | 7090 | 2018-11-21 11:56:32 |
| 1135 | 239 | 7091 | 2018-11-21 11:56:32 |
| 1136 | 239 | 7092 | 2018-11-21 11:56:32 |
| 1137 | 239 | 7093 | 2018-11-21 11:56:32 |
| 1138 | 239 | 7094 | 2018-11-21 11:56:32 |
| 1139 | 239 | 7095 | 2018-11-21 11:56:32 |
| 1140 | 239 | 7096 | 2018-11-21 11:56:32 |
| 1141 | 239 | 7097 | 2018-11-21 11:56:32 |
| 1142 | 239 | 7098 | 2018-11-21 11:56:32 |
| 1143 | 239 | 7099 | 2018-11-21 11:56:32 |
| 1144 | 239 | 7100 | 2018-11-21 11:56:32 |
| 1145 | 239 | 7101 | 2018-11-21 11:56:32 |
| 1146 | 239 | 7102 | 2018-11-21 11:56:32 |
| 1147 | 239 | 7103 | 2018-11-21 11:56:32 |
| 1148 | 239 | 7104 | 2018-11-21 11:56:32 |
| 1149 | 239 | 7105 | 2018-11-21 11:56:32 |
| 1150 | 239 | 7106 | 2018-11-21 11:56:32 |
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;