Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,276–5,300 of 9,842

ticket, page 212 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
527630052765863072921
527730052771408032921
527830052786035392921
527930052794906452921
528030052801791182922
528130052816159962924
528230052827367822924
528330052839165862925
528430052844987442925
528530052851390812925
528630052864540722925
528730052871172882927
528830052889616372927
528930052894741392928
529030052907527202928
529130052913373882929
529230052923851222930
529330052930133902930
529430052943349532931
529530052951107622932
529630052968462282932
529730052971257222933
529830052981311292933
529930052997795642937
530030053003469962937
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;