Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,351–2,375 of 9,842

ticket, page 95 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
235130023515984711294
235230023528857661294
235330023531359261297
235430023543475751298
235530023554085931298
235630023567607531298
235730023571666971300
235830023586654631300
235930023598817891301
236030023604030281302
236130023618277961302
236230023626422221302
236330023635111961303
236430023641915461304
236530023651949131304
236630023666745001305
236730023672186761305
236830023680023341306
236930023699781021306
237030023704471831306
237130023711205551307
237230023720668641308
237330023739155561310
237430023745112201310
237530023753448681311
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;