Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 8,151–8,175 of 9,842

ticket, page 327 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
815130081513467824369
815230081526164164369
815330081537104764371
815430081540472874371
815530081553253624372
815630081567068524373
815730081570491744374
815830081582553454374
815930081590810224375
816030081601057304375
816130081611256044376
816230081628769434376
816330081630059834377
816430081648931224379
816530081650232924379
816630081660492994379
816730081676878014379
816830081685491414381
816930081691394264381
817030081705871684381
817130081712147324381
817230081723807894381
817330081737701734383
817430081745612434383
817530081757531734383
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;