Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 6,151–6,175 of 9,842

ticket, page 247 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
615130061518595983386
615230061524151663386
615330061537016973386
615430061546929783386
615530061550030733386
615630061568167513386
615730061573536433386
615830061584609613386
615930061599676083386
616030061601569363386
616130061619058353386
616230061620998413386
616330061632753993386
616430061642113553386
616530061654815333386
616630061660190203389
616730061674952483389
616830061683165053390
616930061694258763390
617030061701121583391
617130061712427463393
617230061725301883394
617330061736464873394
617430061747726683397
617530061754792383397
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;