Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 7,451–7,475 of 9,842

ticket, page 299 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
745130074517608984051
745230074529396814052
745330074537656084053
745430074543430954053
745530074550151354053
745630074564236954053
745730074572034494055
745830074586908414056
745930074599842324056
746030074607190214059
746130074617109834059
746230074625008804059
746330074631303064059
746430074640551304060
746530074653062474060
746630074664097804061
746730074679792284061
746830074681154004062
746930074694941764062
747030074701993364065
747130074717895204065
747230074724549804067
747330074736446194070
747430074740243374071
747530074759228944073
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;