Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 801–825 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 801 | 177 | 5120 | 2018-01-07 14:35:08 |
| 802 | 177 | 5121 | 2018-01-07 14:35:08 |
| 803 | 177 | 5122 | 2018-01-07 14:35:08 |
| 804 | 156 | 5130 | 2018-01-11 09:09:07 |
| 805 | 156 | 5131 | 2018-01-11 09:09:07 |
| 806 | 158 | 5146 | 2018-01-13 21:17:03 |
| 807 | 158 | 5147 | 2018-01-13 21:17:03 |
| 808 | 159 | 5208 | 2018-01-21 08:31:25 |
| 809 | 159 | 5209 | 2018-01-21 08:31:25 |
| 810 | 159 | 5210 | 2018-01-21 08:31:25 |
| 811 | 159 | 5211 | 2018-01-21 08:31:25 |
| 812 | 170 | 5292 | 2018-02-17 17:05:23 |
| 813 | 170 | 5293 | 2018-02-17 17:05:23 |
| 814 | 163 | 5350 | 2018-03-08 11:02:31 |
| 815 | 163 | 5351 | 2018-03-08 11:02:31 |
| 816 | 160 | 5470 | 2018-03-26 20:07:38 |
| 817 | 162 | 5476 | 2018-03-28 12:39:17 |
| 818 | 164 | 5484 | 2018-03-30 15:23:24 |
| 819 | 164 | 5485 | 2018-03-30 15:23:24 |
| 820 | 161 | 5500 | 2018-04-01 07:03:57 |
| 821 | 165 | 5506 | 2018-04-02 12:16:12 |
| 822 | 165 | 5507 | 2018-04-02 12:16:12 |
| 823 | 165 | 5508 | 2018-04-02 12:16:12 |
| 824 | 168 | 5522 | 2018-04-06 11:16:58 |
| 825 | 167 | 5523 | 2018-04-06 12:31:40 |
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;