Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 351–375 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 351 | 68 | 2412 | 2016-06-25 17:37:38 |
| 352 | 68 | 2413 | 2016-06-25 17:37:38 |
| 353 | 68 | 2414 | 2016-06-25 17:37:38 |
| 354 | 73 | 2450 | 2016-07-05 13:07:54 |
| 355 | 74 | 2685 | 2016-08-22 19:47:17 |
| 356 | 74 | 2686 | 2016-08-22 19:47:17 |
| 357 | 74 | 2687 | 2016-08-22 19:47:17 |
| 358 | 74 | 2688 | 2016-08-22 19:47:17 |
| 359 | 74 | 2689 | 2016-08-22 19:47:17 |
| 360 | 76 | 2816 | 2016-09-17 20:44:28 |
| 361 | 76 | 2817 | 2016-09-17 20:44:28 |
| 362 | 75 | 2856 | 2016-09-29 13:29:02 |
| 363 | 75 | 2857 | 2016-09-29 13:29:02 |
| 364 | 77 | 2893 | 2016-10-10 22:07:36 |
| 365 | 77 | 2894 | 2016-10-10 22:07:36 |
| 366 | 77 | 2895 | 2016-10-10 22:07:36 |
| 367 | 77 | 2896 | 2016-10-10 22:07:36 |
| 368 | 78 | 2917 | 2016-10-16 23:50:35 |
| 369 | 78 | 2918 | 2016-10-16 23:50:35 |
| 370 | 80 | 2946 | 2016-11-01 22:24:57 |
| 371 | 80 | 2947 | 2016-11-01 22:24:57 |
| 372 | 80 | 2948 | 2016-11-01 22:24:57 |
| 373 | 80 | 2949 | 2016-11-01 22:24:57 |
| 374 | 79 | 3012 | 2016-11-11 11:26:04 |
| 375 | 82 | 3015 | 2016-11-11 15:18:48 |
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;