Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 315 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
785130078513711894219
785230078528325764219
785330078535177444219
785430078543626554219
785530078556937254219
785630078568557754219
785730078576361104219
785830078585697634219
785930078595309594219
786030078605204784219
786130078612027334219
786230078621541384219
786330078630696264219
786430078647536384219
786530078656397074219
786630078669597204219
786730078679592324219
786830078688485454219
786930078691147234219
787030078702483404219
787130078712537994219
787230078721120584219
787330078737657624219
787430078743068964219
787530078750775184220
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;