Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 91 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
225130022511709811218
225230022524359171218
225330022538873361219
225430022540123751220
225530022559661661221
225630022569382151222
225730022579852981223
225830022586483201226
225930022595832161228
226030022604349611228
226130022610818531228
226230022623567591229
226330022631723401229
226430022644775551229
226530022658587191230
226630022669597031230
226730022679421331231
226830022685819931231
226930022693198691233
227030022705056251233
227130022719512971234
227230022720063021234
227330022733641451234
227430022747826181237
227530022753149251237
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;