Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,626–1,650 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1626 | 367 | 8994 | 2019-09-11 10:27:08 |
| 1627 | 367 | 8995 | 2019-09-11 10:27:08 |
| 1628 | 367 | 8996 | 2019-09-11 10:27:08 |
| 1629 | 367 | 8997 | 2019-09-11 10:27:08 |
| 1630 | 367 | 8998 | 2019-09-11 10:27:08 |
| 1631 | 367 | 8999 | 2019-09-11 10:27:08 |
| 1632 | 367 | 9000 | 2019-09-11 10:27:08 |
| 1633 | 367 | 9001 | 2019-09-11 10:27:08 |
| 1634 | 367 | 9002 | 2019-09-11 10:27:08 |
| 1635 | 367 | 9003 | 2019-09-11 10:27:08 |
| 1636 | 368 | 9004 | 2019-09-11 10:27:08 |
| 1637 | 368 | 9005 | 2019-09-11 10:27:08 |
| 1638 | 368 | 9006 | 2019-09-11 10:27:08 |
| 1639 | 368 | 9007 | 2019-09-11 10:27:08 |
| 1640 | 368 | 9008 | 2019-09-11 10:27:08 |
| 1641 | 318 | 9109 | 2019-09-24 15:58:47 |
| 1642 | 318 | 9110 | 2019-09-24 15:58:47 |
| 1643 | 318 | 9111 | 2019-09-24 15:58:47 |
| 1644 | 318 | 9112 | 2019-09-24 15:58:47 |
| 1645 | 304 | 9152 | 2019-10-08 12:52:42 |
| 1646 | 304 | 9153 | 2019-10-08 12:52:42 |
| 1647 | 307 | 9163 | 2019-10-10 14:41:03 |
| 1648 | 303 | 9170 | 2019-10-12 14:21:47 |
| 1649 | 310 | 9173 | 2019-10-13 15:27:15 |
| 1650 | 339 | 9180 | 2019-10-16 10:30:59 |
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;