Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 726–750 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 726 | 144 | 4912 | 2017-12-01 23:58:30 |
| 727 | 144 | 4913 | 2017-12-01 23:58:30 |
| 728 | 148 | 4914 | 2017-12-02 10:14:46 |
| 729 | 148 | 4915 | 2017-12-02 10:14:46 |
| 730 | 146 | 4919 | 2017-12-05 16:31:18 |
| 731 | 146 | 4920 | 2017-12-05 16:31:18 |
| 732 | 150 | 4935 | 2017-12-12 10:02:20 |
| 733 | 149 | 4940 | 2017-12-13 19:42:48 |
| 734 | 149 | 4941 | 2017-12-13 19:42:48 |
| 735 | 152 | 4942 | 2017-12-14 08:42:31 |
| 736 | 152 | 4943 | 2017-12-14 08:42:31 |
| 737 | 151 | 4952 | 2017-12-18 07:06:55 |
| 738 | 151 | 4953 | 2017-12-18 07:06:55 |
| 739 | 151 | 4954 | 2017-12-18 07:06:55 |
| 740 | 151 | 4955 | 2017-12-18 07:06:55 |
| 741 | 154 | 4979 | 2017-12-23 09:34:21 |
| 742 | 154 | 4980 | 2017-12-23 09:34:21 |
| 743 | 153 | 4986 | 2017-12-23 15:07:24 |
| 744 | 153 | 4987 | 2017-12-23 15:07:24 |
| 745 | 155 | 5040 | 2018-01-01 13:36:53 |
| 746 | 155 | 5041 | 2018-01-01 13:36:53 |
| 747 | 157 | 5060 | 2018-01-06 16:10:02 |
| 748 | 176 | 5067 | 2018-01-07 14:35:08 |
| 749 | 176 | 5068 | 2018-01-07 14:35:08 |
| 750 | 176 | 5069 | 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;