Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,576–2,600 of 9,842

ticket, page 104 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
257630025769393441450
257730025774081021450
257830025786388221450
257930025797977071451
258030025803404411451
258130025818005331460
258230025828785861460
258330025836809721461
258430025842776981462
258530025859926071462
258630025861051821462
258730025875232921463
258830025881040771463
258930025893192051468
259030025906406241468
259130025914762851468
259230025920807081469
259330025934528791469
259430025945980311470
259530025958513421470
259630025963671731471
259730025972773001471
259830025984829301474
259930025999027751474
260030026003246411474
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;