Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 3,576–3,600 of 9,842

ticket, page 144 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
357630035760782551965
357730035776991771965
357830035784498621965
357930035793113371965
358030035808451531965
358130035819545581967
358230035829131001967
358330035836596161968
358430035843696421968
358530035859543701968
358630035869501491968
358730035874453151969
358830035884083881969
358930035891402711969
359030035902296401970
359130035919258711972
359230035924595321974
359330035939179711974
359430035942360831976
359530035954911081978
359630035961200231978
359730035978504391978
359830035980167161978
359930035994102691979
360030036004092401979
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;