Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 131 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
325130032517203661795
325230032529235941795
325330032533683821797
325430032540045971797
325530032559456571797
325630032567578511797
325730032579221561797
325830032586615001797
325930032594245371797
326030032606330291797
326130032613352411797
326230032625513451797
326330032632899631797
326430032646634161797
326530032658145731797
326630032669607811797
326730032674129001797
326830032681399481797
326930032699889011797
327030032700684621797
327130032713684771797
327230032720446581797
327330032732168681797
327430032743391931797
327530032752230501797
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;