Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 9,226–9,250 of 9,842

ticket, page 370 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
922630092260231104967
922730092278795314967
922830092282258634968
922930092292219124968
923030092307702724969
923130092318307434969
923230092326763704969
923330092334616524969
923430092340175074970
923530092357595554970
923630092368171034972
923730092375551574972
923830092385386904972
923930092398864294973
924030092402337914973
924130092411623544974
924230092424445284974
924330092430506494974
924430092442350464974
924530092454779484974
924630092460191734974
924730092476344724974
924830092486415094974
924930092490184734974
925030092500173934974
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;