Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 79 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
195130019515311931056
195230019523129131056
195330019534533341056
195430019544058591056
195530019554054521058
195630019565803201058
195730019576728721059
195830019586222691059
195930019592017031063
196030019604544621064
196130019610727271064
196230019627602611064
196330019639489841064
196430019640649011065
196530019657000151066
196630019668259321066
196730019673440091067
196830019684781551067
196930019697578821070
197030019704692171070
197130019713968181070
197230019726403101070
197330019738844641071
197430019749780711071
197530019756048481071
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;