Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,226–1,250 of 9,842

ticket, page 50 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
12263001226017609669
12273001227339563669
12283001228994817669
12293001229003491669
12303001230346013669
12313001231678741669
12323001232314234669
12333001233930145669
12343001234275262669
12353001235664384669
12363001236419224669
12373001237268583669
12383001238658488669
12393001239203615669
12403001240883518669
12413001241447507669
12423001242333469669
12433001243279022669
12443001244597036669
12453001245507041669
12463001246820604669
12473001247080725669
12483001248526695669
12493001249868746669
12503001250848823669
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;