Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,351–1,375 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1351 | 245 | 7757 | 2019-03-05 07:06:13 |
| 1352 | 245 | 7758 | 2019-03-05 07:06:13 |
| 1353 | 245 | 7759 | 2019-03-05 07:06:13 |
| 1354 | 245 | 7760 | 2019-03-05 07:06:13 |
| 1355 | 245 | 7761 | 2019-03-05 07:06:13 |
| 1356 | 243 | 7762 | 2019-03-05 08:28:18 |
| 1357 | 243 | 7763 | 2019-03-05 08:28:18 |
| 1358 | 243 | 7764 | 2019-03-05 08:28:18 |
| 1359 | 243 | 7765 | 2019-03-05 08:28:18 |
| 1360 | 244 | 7773 | 2019-03-06 08:50:28 |
| 1361 | 251 | 7775 | 2019-03-07 21:39:41 |
| 1362 | 251 | 7776 | 2019-03-07 21:39:41 |
| 1363 | 251 | 7777 | 2019-03-07 21:39:41 |
| 1364 | 251 | 7778 | 2019-03-07 21:39:41 |
| 1365 | 251 | 7779 | 2019-03-07 21:39:41 |
| 1366 | 247 | 7798 | 2019-03-12 08:31:20 |
| 1367 | 247 | 7799 | 2019-03-12 08:31:20 |
| 1368 | 253 | 7801 | 2019-03-12 20:21:52 |
| 1369 | 253 | 7802 | 2019-03-12 20:21:52 |
| 1370 | 252 | 7811 | 2019-03-15 17:25:32 |
| 1371 | 260 | 7825 | 2019-03-19 08:52:54 |
| 1372 | 260 | 7826 | 2019-03-19 08:52:54 |
| 1373 | 260 | 7827 | 2019-03-19 08:52:54 |
| 1374 | 260 | 7828 | 2019-03-19 08:52:54 |
| 1375 | 260 | 7829 | 2019-03-19 08:52:54 |
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;