Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 7,601–7,625 of 9,842

ticket, page 305 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
760130076013014464100
760230076020853974101
760330076030459094101
760430076044565464101
760530076052860924102
760630076064497904103
760730076072024444103
760830076087486624103
760930076092503874103
761030076104173954104
761130076117137804104
761230076121867614104
761330076139853614106
761430076149798524106
761530076154658534106
761630076166410534107
761730076171294924108
761830076189468724108
761930076198848464108
762030076201854214108
762130076210158354108
762230076224510084109
762330076239981874109
762430076247815754110
762530076255455614110
Table definition
CREATE TABLE ticket (
  ticket_id INTEGER PRIMARY KEY,
  barcode   TEXT NOT NULL UNIQUE CHECK (length(barcode) = 13 AND barcode NOT GLOB '*[^0-9]*'),
  order_id  INTEGER NOT NULL REFERENCES purchase_order (order_id)
) STRICT;