Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 145 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
360130036015664311981
360230036021570581981
360330036030773911982
360430036044575591982
360530036059776231983
360630036064922351983
360730036078475591985
360830036081842931985
360930036093095471986
361030036103296091988
361130036117361471988
361230036126275181989
361330036131907511989
361430036140808501989
361530036152389521992
361630036164528921992
361730036177650961992
361830036187036921993
361930036190594561996
362030036206487091996
362130036218044631996
362230036227255101996
362330036239028501996
362430036249107951998
362530036250408471998
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;