Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,151–1,175 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1151 | 239 | 7107 | 2018-11-21 11:56:32 |
| 1152 | 239 | 7108 | 2018-11-21 11:56:32 |
| 1153 | 239 | 7109 | 2018-11-21 11:56:32 |
| 1154 | 239 | 7110 | 2018-11-21 11:56:32 |
| 1155 | 239 | 7111 | 2018-11-21 11:56:32 |
| 1156 | 239 | 7112 | 2018-11-21 11:56:32 |
| 1157 | 239 | 7113 | 2018-11-21 11:56:32 |
| 1158 | 239 | 7114 | 2018-11-21 11:56:32 |
| 1159 | 239 | 7115 | 2018-11-21 11:56:32 |
| 1160 | 239 | 7116 | 2018-11-21 11:56:32 |
| 1161 | 239 | 7117 | 2018-11-21 11:56:32 |
| 1162 | 239 | 7118 | 2018-11-21 11:56:32 |
| 1163 | 239 | 7119 | 2018-11-21 11:56:32 |
| 1164 | 239 | 7120 | 2018-11-21 11:56:32 |
| 1165 | 239 | 7121 | 2018-11-21 11:56:32 |
| 1166 | 239 | 7122 | 2018-11-21 11:56:32 |
| 1167 | 239 | 7123 | 2018-11-21 11:56:32 |
| 1168 | 239 | 7124 | 2018-11-21 11:56:32 |
| 1169 | 239 | 7125 | 2018-11-21 11:56:32 |
| 1170 | 239 | 7126 | 2018-11-21 11:56:32 |
| 1171 | 239 | 7127 | 2018-11-21 11:56:32 |
| 1172 | 239 | 7128 | 2018-11-21 11:56:32 |
| 1173 | 239 | 7129 | 2018-11-21 11:56:32 |
| 1174 | 240 | 7130 | 2018-11-21 11:56:32 |
| 1175 | 240 | 7131 | 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;