Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 6,676–6,700 of 9,842

ticket, page 268 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
667630066761750773651
667730066779923083651
667830066787531843651
667930066792273733651
668030066803090743651
668130066818112763651
668230066828185403651
668330066835584293651
668430066841464953651
668530066853081783652
668630066862234303653
668730066878500313653
668830066889367983654
668930066896942723654
669030066900608133655
669130066919190043655
669230066922791433656
669330066931474683657
669430066942692743658
669530066957880013658
669630066961346813658
669730066971955303660
669830066982721833660
669930066995749923660
670030067004380033661
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;