Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 9,751–9,775 of 9,842

ticket, page 391 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
975130097516862195337
975230097521442435338
975330097531571065338
975430097549050595339
975530097558820425339
975630097564212245341
975730097572488085341
975830097587200615342
975930097594201575343
976030097607300475343
976130097619664935347
976230097623621995347
976330097635701235351
976430097649026445351
976530097650956195351
976630097669098845355
976730097677668555355
976830097681016505355
976930097691378945358
977030097705444765358
977130097714289075358
977230097726763985358
977330097731946425359
977430097740447975360
977530097754502165361
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;