Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 4,676–4,700 of 9,842

ticket, page 188 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
467630046762473222591
467730046771558802591
467830046784974542591
467930046799839572591
468030046803996372593
468130046810392242593
468230046825659772593
468330046833988092594
468430046845736622596
468530046855887732596
468630046867580242596
468730046871233252596
468830046886743642596
468930046897276342596
469030046908859062596
469130046910123352596
469230046924395802596
469330046937336062596
469430046946033372596
469530046954737962596
469630046963891412596
469730046974979582596
469830046988318572596
469930046991171352596
470030047008287322596
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;