Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 3,501–3,525 of 9,842

ticket, page 141 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
350130035015728711910
350230035026983371910
350330035039537081911
350430035049312231911
350530035050436361912
350630035065185011912
350730035076536231912
350830035089435151914
350930035099363061914
351030035103489681914
351130035113328251915
351230035128855031915
351330035136026871916
351430035142115891918
351530035154187351918
351630035167822441918
351730035179181631918
351830035189305911920
351930035195448781920
352030035201478001920
352130035219622531921
352230035227074241921
352330035237837591922
352430035245262451922
352530035252631041924
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;