Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 9,426–9,450 of 9,842

ticket, page 378 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
942630094265751765090
942730094273447845090
942830094280381415091
942930094296774685091
943030094304097965092
943130094315680135092
943230094326799915092
943330094338475365092
943430094344273505093
943530094355539025094
943630094364643055094
943730094370314145095
943830094383972765095
943930094391923465096
944030094404291915096
944130094412788005096
944230094426090165096
944330094435796995097
944430094440545685097
944530094450831095097
944630094462967435097
944730094477000055097
944830094482424645100
944930094499687735101
945030094507557845101
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;