Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 8,426–8,450 of 9,842

ticket, page 338 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
842630084262636514556
842730084279482624562
842830084281015804562
842930084295960084563
843030084307384384564
843130084311016354564
843230084325643194564
843330084333400364565
843430084343168144565
843530084351430664566
843630084369936244568
843730084379501224568
843830084380282774569
843930084399727114569
844030084408066884569
844130084419334874569
844230084420047534570
844330084431505024570
844430084445631854573
844530084455533274573
844630084469080974573
844730084477845364573
844830084480343244574
844930084498471004574
845030084501032114574
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;