Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,876–1,900 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1876 | 390 | 9549 | 2019-12-15 14:20:55 |
| 1877 | 390 | 9550 | 2019-12-15 14:20:55 |
| 1878 | 390 | 9551 | 2019-12-15 14:20:55 |
| 1879 | 374 | 9552 | 2019-12-15 20:32:00 |
| 1880 | 374 | 9553 | 2019-12-15 20:32:00 |
| 1881 | 379 | 9556 | 2019-12-16 12:52:32 |
| 1882 | 379 | 9557 | 2019-12-16 12:52:32 |
| 1883 | 388 | 9558 | 2019-12-16 23:42:01 |
| 1884 | 381 | 9559 | 2019-12-17 07:56:58 |
| 1885 | 384 | 9560 | 2019-12-17 12:14:46 |
| 1886 | 384 | 9561 | 2019-12-17 12:14:46 |
| 1887 | 384 | 9562 | 2019-12-17 12:14:46 |
| 1888 | 384 | 9563 | 2019-12-17 12:14:46 |
| 1889 | 387 | 9564 | 2019-12-18 07:30:35 |
| 1890 | 389 | 9567 | 2019-12-18 11:11:19 |
| 1891 | 377 | 9569 | 2019-12-18 20:31:02 |
| 1892 | 377 | 9570 | 2019-12-18 20:31:02 |
| 1893 | 389 | 9571 | 2019-12-18 22:18:19 |
| 1894 | 404 | 9574 | 2019-12-19 18:51:34 |
| 1895 | 404 | 9575 | 2019-12-19 18:51:34 |
| 1896 | 378 | 9578 | 2019-12-20 08:17:32 |
| 1897 | 383 | 9580 | 2019-12-22 17:05:00 |
| 1898 | 392 | 9581 | 2019-12-22 17:06:50 |
| 1899 | 403 | 9588 | 2019-12-23 14:34:56 |
| 1900 | 403 | 9589 | 2019-12-23 14:34:56 |
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;