Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 4,701–4,725 of 9,842

ticket, page 189 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
470130047010490732596
470230047021817792596
470330047031972852596
470430047043335902596
470530047058687722596
470630047061541902596
470730047072864912596
470830047082835982596
470930047092690532596
471030047105007682596
471130047110022082596
471230047127549482596
471330047137916002596
471430047145069062596
471530047153014692596
471630047162267372596
471730047178035462596
471830047188292872596
471930047195728682596
472030047203899972596
472130047210124672596
472230047227450612596
472330047237249672596
472430047242865362596
472530047252833532596
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;