Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 7,251–7,275 of 9,842

ticket, page 291 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
725130072516504783956
725230072527009773959
725330072539639023961
725430072543037253962
725530072559136803962
725630072561921063963
725730072577978553963
725830072587900833964
725930072595975733964
726030072600393573966
726130072615918693966
726230072628599803967
726330072638043883967
726430072645440763967
726530072655644023967
726630072660970133968
726730072674288523968
726830072686257093969
726930072699019803969
727030072701335573971
727130072710048433971
727230072727283523971
727330072739009833974
727430072740178133974
727530072755800933974
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;