Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 3,126–3,150 of 9,842

ticket, page 126 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
312630031266580861754
312730031270705821754
312830031288736771754
312930031290500741754
313030031303440321754
313130031313430091754
313230031328655341754
313330031336127981754
313430031349443691754
313530031359736481754
313630031367323901754
313730031375053611756
313830031387260511757
313930031398248131757
314030031408386501757
314130031410383521757
314230031422627231757
314330031433166481758
314430031448122311759
314530031458374511761
314630031465583911761
314730031476779591761
314830031485315841761
314930031493381601763
315030031502752421764
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;