Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 8,201–8,225 of 9,842

ticket, page 329 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
820130082011147194404
820230082027335044404
820330082031018034406
820430082046338284406
820530082051049744408
820630082066189694408
820730082073933394410
820830082082102994411
820930082093999584411
821030082108207744411
821130082118582144413
821230082120261934413
821330082139398644414
821430082142033554414
821530082154747654414
821630082166527124415
821730082179337974415
821830082188319684416
821930082197967244416
822030082200431474416
822130082217863764418
822230082223188194418
822330082239191904419
822430082244889924419
822530082251056614419
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;