Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 926–950 of 9,842

ticket, page 38 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
9263000926870461497
9273000927593988498
9283000928975027500
9293000929895653502
9303000930108768502
9313000931206646502
9323000932333981504
9333000933569475504
9343000934255203505
9353000935396857505
9363000936142426505
9373000937834449505
9383000938458964506
9393000939662009506
9403000940606569508
9413000941768445510
9423000942679766510
9433000943557024510
9443000944734587511
9453000945010617512
9463000946519564512
9473000947384856513
9483000948005506513
9493000949468139515
9503000950779569515
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;