Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,401–1,425 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1401 | 260 | 7855 | 2019-03-19 08:52:54 |
| 1402 | 260 | 7856 | 2019-03-19 08:52:54 |
| 1403 | 260 | 7857 | 2019-03-19 08:52:54 |
| 1404 | 260 | 7858 | 2019-03-19 08:52:54 |
| 1405 | 260 | 7859 | 2019-03-19 08:52:54 |
| 1406 | 260 | 7860 | 2019-03-19 08:52:54 |
| 1407 | 260 | 7861 | 2019-03-19 08:52:54 |
| 1408 | 260 | 7862 | 2019-03-19 08:52:54 |
| 1409 | 260 | 7863 | 2019-03-19 08:52:54 |
| 1410 | 260 | 7864 | 2019-03-19 08:52:54 |
| 1411 | 260 | 7865 | 2019-03-19 08:52:54 |
| 1412 | 260 | 7866 | 2019-03-19 08:52:54 |
| 1413 | 260 | 7867 | 2019-03-19 08:52:54 |
| 1414 | 260 | 7868 | 2019-03-19 08:52:54 |
| 1415 | 260 | 7869 | 2019-03-19 08:52:54 |
| 1416 | 261 | 7870 | 2019-03-19 08:52:54 |
| 1417 | 261 | 7871 | 2019-03-19 08:52:54 |
| 1418 | 261 | 7872 | 2019-03-19 08:52:54 |
| 1419 | 261 | 7873 | 2019-03-19 08:52:54 |
| 1420 | 261 | 7874 | 2019-03-19 08:52:54 |
| 1421 | 257 | 7978 | 2019-04-04 12:18:07 |
| 1422 | 258 | 7980 | 2019-04-04 14:45:01 |
| 1423 | 258 | 7981 | 2019-04-04 14:45:01 |
| 1424 | 258 | 7982 | 2019-04-04 14:45:01 |
| 1425 | 256 | 7986 | 2019-04-04 22:09:44 |
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;