Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 751–775 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 751 | 176 | 5070 | 2018-01-07 14:35:08 |
| 752 | 176 | 5071 | 2018-01-07 14:35:08 |
| 753 | 176 | 5072 | 2018-01-07 14:35:08 |
| 754 | 176 | 5073 | 2018-01-07 14:35:08 |
| 755 | 176 | 5074 | 2018-01-07 14:35:08 |
| 756 | 176 | 5075 | 2018-01-07 14:35:08 |
| 757 | 176 | 5076 | 2018-01-07 14:35:08 |
| 758 | 176 | 5077 | 2018-01-07 14:35:08 |
| 759 | 176 | 5078 | 2018-01-07 14:35:08 |
| 760 | 176 | 5079 | 2018-01-07 14:35:08 |
| 761 | 176 | 5080 | 2018-01-07 14:35:08 |
| 762 | 176 | 5081 | 2018-01-07 14:35:08 |
| 763 | 176 | 5082 | 2018-01-07 14:35:08 |
| 764 | 176 | 5083 | 2018-01-07 14:35:08 |
| 765 | 176 | 5084 | 2018-01-07 14:35:08 |
| 766 | 176 | 5085 | 2018-01-07 14:35:08 |
| 767 | 176 | 5086 | 2018-01-07 14:35:08 |
| 768 | 176 | 5087 | 2018-01-07 14:35:08 |
| 769 | 176 | 5088 | 2018-01-07 14:35:08 |
| 770 | 176 | 5089 | 2018-01-07 14:35:08 |
| 771 | 176 | 5090 | 2018-01-07 14:35:08 |
| 772 | 176 | 5091 | 2018-01-07 14:35:08 |
| 773 | 176 | 5092 | 2018-01-07 14:35:08 |
| 774 | 176 | 5093 | 2018-01-07 14:35:08 |
| 775 | 176 | 5094 | 2018-01-07 14:35:08 |
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;