Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,051–5,075 of 9,842

ticket, page 203 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
505130050516613802806
505230050524602872807
505330050534167842808
505430050549963442808
505530050553090112808
505630050567541452808
505730050576586992809
505830050586622742809
505930050599350152809
506030050609822882812
506130050615067812813
506230050623639522813
506330050633061342813
506430050642384742813
506530050659714802814
506630050666206192815
506730050672803922817
506830050688750922817
506930050692357082817
507030050703207972817
507130050712371662817
507230050725729312817
507330050736433762817
507430050748217862817
507530050753710752817
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;