Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 4,076–4,100 of 9,842

ticket, page 164 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
407630040765365522278
407730040779174662278
407830040785103642278
407930040797716522281
408030040806988552281
408130040813766102282
408230040829058332282
408330040831834072283
408430040846327882283
408530040856256942284
408630040861360092284
408730040878169082288
408830040880511802288
408930040899546272289
409030040904104652289
409130040910294372290
409230040921989322290
409330040939383272292
409430040941522582292
409530040957585322292
409630040969219562294
409730040972540192294
409830040984176432295
409930040990769772296
410030041003535292296
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;