Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 366 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
912630091269379824919
912730091271362504919
912830091287587674920
912930091295053064920
913030091307143344920
913130091315367194921
913230091323449044921
913330091338848034923
913430091344965974923
913530091354261914924
913630091363715014924
913730091376276664924
913830091384330954926
913930091399856324926
914030091409991224927
914130091410057554927
914230091423142354928
914330091432320554928
914430091447029994929
914530091451923034931
914630091468306814931
914730091475290714932
914830091487914224932
914930091491010694932
915030091502674044932
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;