Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,651–1,675 of 9,842

ticket, page 67 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
16513001651082291921
16523001652207441922
16533001653243726924
16543001654226746924
16553001655932354925
16563001656871848925
16573001657534138927
16583001658102952928
16593001659288378928
16603001660641969930
16613001661689721930
16623001662972252930
16633001663445008930
16643001664673765930
16653001665846901931
16663001666059552931
16673001667624584933
16683001668348119933
16693001669517300933
16703001670667094933
16713001671657112933
16723001672024526934
16733001673168082935
16743001674276067937
16753001675614753937
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;