Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,676–5,700 of 9,842

ticket, page 228 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
567630056760544403166
567730056776099093167
567830056787548773169
567930056793081923169
568030056807878803169
568130056810354003169
568230056828051273169
568330056830742223170
568430056840853383170
568530056852877893171
568630056867984683172
568730056876634793173
568830056887196163173
568930056897007423175
569030056904859183176
569130056915685893177
569230056926224453177
569330056931549793179
569430056945825713179
569530056951449803182
569630056969319893182
569730056974380543183
569830056982881773183
569930056994039843183
570030057001028303183
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;