Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 751–775 of 9,842

ticket, page 31 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
7513000751958275376
7523000752236462376
7533000753233307377
7543000754470997377
7553000755879083379
7563000756682109379
7573000757284417380
7583000758118914381
7593000759186611383
7603000760831558383
7613000761896184385
7623000762814411387
7633000763497977387
7643000764731945389
7653000765276313389
7663000766290947390
7673000767367091390
7683000768332197391
7693000769664738391
7703000770321670391
7713000771802231393
7723000772381680393
7733000773576027394
7743000774347584396
7753000775119138396
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;