Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,576–1,600 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1576 | 320 | 8934 | 2019-09-07 10:32:28 |
| 1577 | 320 | 8935 | 2019-09-07 10:32:28 |
| 1578 | 320 | 8936 | 2019-09-07 10:32:28 |
| 1579 | 320 | 8937 | 2019-09-07 10:32:28 |
| 1580 | 320 | 8938 | 2019-09-07 10:32:28 |
| 1581 | 320 | 8939 | 2019-09-07 10:32:28 |
| 1582 | 320 | 8940 | 2019-09-07 10:32:28 |
| 1583 | 320 | 8941 | 2019-09-07 10:32:28 |
| 1584 | 320 | 8942 | 2019-09-07 10:32:28 |
| 1585 | 320 | 8943 | 2019-09-07 10:32:28 |
| 1586 | 320 | 8944 | 2019-09-07 10:32:28 |
| 1587 | 320 | 8945 | 2019-09-07 10:32:28 |
| 1588 | 321 | 8946 | 2019-09-07 10:32:28 |
| 1589 | 321 | 8947 | 2019-09-07 10:32:28 |
| 1590 | 302 | 8949 | 2019-09-07 21:10:17 |
| 1591 | 367 | 8959 | 2019-09-11 10:27:08 |
| 1592 | 367 | 8960 | 2019-09-11 10:27:08 |
| 1593 | 367 | 8961 | 2019-09-11 10:27:08 |
| 1594 | 367 | 8962 | 2019-09-11 10:27:08 |
| 1595 | 367 | 8963 | 2019-09-11 10:27:08 |
| 1596 | 367 | 8964 | 2019-09-11 10:27:08 |
| 1597 | 367 | 8965 | 2019-09-11 10:27:08 |
| 1598 | 367 | 8966 | 2019-09-11 10:27:08 |
| 1599 | 367 | 8967 | 2019-09-11 10:27:08 |
| 1600 | 367 | 8968 | 2019-09-11 10:27: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;