Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 286 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
712630071262738463887
712730071273342833887
712830071286576203887
712930071290035043887
713030071307948623887
713130071313126923887
713230071326042343887
713330071335569213887
713430071341912603887
713530071359390743887
713630071362478723887
713730071371735063887
713830071388513903887
713930071390482223887
714030071405707443887
714130071419602853887
714230071423892563887
714330071431092303887
714430071442511153887
714530071452133913888
714630071465052223888
714730071470384763888
714830071486903563888
714930071491536093888
715030071508745103890
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;