Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,251–5,275 of 9,842

ticket, page 211 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
525130052517182872899
525230052526425422900
525330052537927382901
525430052541592772901
525530052554971622902
525630052560307942902
525730052578605312904
525830052585746252904
525930052598063732905
526030052608478482905
526130052619810842906
526230052626263732909
526330052636082622909
526430052647649282909
526530052651973422909
526630052665482172910
526730052670489432911
526830052686670262912
526930052692707512912
527030052703706792913
527130052713626692913
527230052721037032913
527330052737658542916
527430052746110832916
527530052753107902917
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;