Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 4,326–4,350 of 9,842

ticket, page 174 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
432630043265027412408
432730043272147052408
432830043280530572409
432930043297300432409
433030043300054852409
433130043311708192409
433230043324580922409
433330043330958772410
433430043346809222413
433530043354696882413
433630043360842552413
433730043370386112413
433830043385227582414
433930043392171232414
434030043401574262414
434130043415061032416
434230043428748122416
434330043437731072417
434430043441659442418
434530043457370832418
434630043469094572419
434730043478735272419
434830043488056792420
434930043496133062420
435030043505297422422
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;