Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,751–1,775 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1751 | 317 | 9292 | 2019-10-20 14:26:18 |
| 1752 | 306 | 9293 | 2019-10-21 09:06:10 |
| 1753 | 306 | 9294 | 2019-10-21 09:06:10 |
| 1754 | 316 | 9300 | 2019-10-23 08:22:18 |
| 1755 | 316 | 9301 | 2019-10-23 08:22:18 |
| 1756 | 319 | 9303 | 2019-10-23 20:28:27 |
| 1757 | 305 | 9304 | 2019-10-24 15:23:34 |
| 1758 | 305 | 9305 | 2019-10-24 15:23:34 |
| 1759 | 333 | 9306 | 2019-10-25 13:13:59 |
| 1760 | 314 | 9307 | 2019-10-25 15:03:45 |
| 1761 | 314 | 9308 | 2019-10-25 15:03:45 |
| 1762 | 311 | 9311 | 2019-10-27 17:02:33 |
| 1763 | 311 | 9312 | 2019-10-27 17:02:33 |
| 1764 | 315 | 9313 | 2019-10-27 20:11:46 |
| 1765 | 315 | 9314 | 2019-10-27 20:11:46 |
| 1766 | 315 | 9315 | 2019-10-27 20:11:46 |
| 1767 | 315 | 9316 | 2019-10-27 20:11:46 |
| 1768 | 315 | 9317 | 2019-10-27 20:11:46 |
| 1769 | 312 | 9320 | 2019-10-28 09:47:51 |
| 1770 | 312 | 9321 | 2019-10-28 09:47:51 |
| 1771 | 328 | 9323 | 2019-10-28 13:10:42 |
| 1772 | 328 | 9324 | 2019-10-28 13:10:42 |
| 1773 | 313 | 9328 | 2019-10-29 08:42:42 |
| 1774 | 322 | 9337 | 2019-10-31 12:58:57 |
| 1775 | 322 | 9338 | 2019-10-31 12:58:57 |
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;