Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 8,126–8,150 of 9,842

ticket, page 326 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
812630081269146944349
812730081273798074349
812830081286290764350
812930081296444274350
813030081308103384350
813130081319342214351
813230081320373954351
813330081332364594355
813430081347849334356
813530081355586814356
813630081366471744358
813730081376393914358
813830081388247064358
813930081399799194358
814030081403749494358
814130081413299454362
814230081422344344362
814330081432782914364
814430081440177484365
814530081451711084365
814630081460754084366
814730081477611864367
814830081481161324367
814930081495233514368
815030081504181764369
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;