Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,951–2,975 of 9,842

ticket, page 119 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
295130029516350561684
295230029523555751686
295330029531566451686
295430029543009261686
295530029552460971686
295630029567650811686
295730029576388941686
295830029583092561686
295930029598543171686
296030029606457641686
296130029618899891686
296230029622591161686
296330029636621541686
296430029648988851686
296530029651497681686
296630029667978201686
296730029678552871686
296830029687720671686
296930029699936751686
297030029702912521686
297130029713304391686
297230029723126181686
297330029731370071686
297430029744088981686
297530029753717441686
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;