Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,601–2,625 of 9,842

ticket, page 105 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
260130026012010971474
260230026020050721476
260330026036382131477
260430026041122661477
260530026059097621477
260630026068598301479
260730026072076331479
260830026089409871479
260930026096908801479
261030026108402621481
261130026117911351482
261230026129356921482
261330026131474571486
261430026141817561486
261530026150855871486
261630026168094191487
261730026171814421489
261830026184162551489
261930026195782111490
262030026201914101490
262130026214399881490
262230026229371361490
262330026230247571490
262430026241940651492
262530026256210271492
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;