Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,751–1,775 of 9,842

ticket, page 71 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
17513001751897633961
17523001752215336963
17533001753088671963
17543001754106487963
17553001755103073964
17563001756954580964
17573001757361940966
17583001758710999966
17593001759840766968
17603001760851681968
17613001761949946968
17623001762244769971
17633001763933426972
17643001764326618972
17653001765557168973
17663001766272401973
17673001767966231975
17683001768234148975
17693001769341804975
17703001770740232976
17713001771025100977
17723001772759440977
17733001773822853978
17743001774263892978
17753001775371687979
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;