Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,026–1,050 of 9,842

ticket, page 42 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
10263001026975784568
10273001027264434569
10283001028143816569
10293001029845189570
10303001030123437572
10313001031558942572
10323001032599888573
10333001033360583573
10343001034552326574
10353001035825754574
10363001036107317575
10373001037246184575
10383001038971353575
10393001039744797575
10403001040066649576
10413001041935360576
10423001042692669582
10433001043213345582
10443001044411121584
10453001045121266585
10463001046125372585
10473001047772153586
10483001048325872587
10493001049945341590
10503001050183741591
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;