Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,851–5,875 of 9,842

ticket, page 235 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
585130058513185953271
585230058529227713271
585330058531072163271
585430058544561393271
585530058557595983271
585630058564301803271
585730058571017273271
585830058582814383271
585930058591618313271
586030058605437023271
586130058613133773271
586230058626667173271
586330058632518873271
586430058641978513271
586530058652337833272
586630058664253223272
586730058671459193272
586830058689987403274
586930058692808373274
587030058705620053276
587130058715969953276
587230058726757463278
587330058736907833281
587430058745714703281
587530058750260383282
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;