Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 3,801–3,825 of 9,842

ticket, page 153 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
380130038014093022081
380230038028106612081
380330038034360092081
380430038045073312081
380530038058667272081
380630038067702042081
380730038073556942081
380830038084219882081
380930038094027362081
381030038104718002081
381130038113834522081
381230038128557022081
381330038133640002083
381430038144888992084
381530038152419012085
381630038168567762085
381730038171214172085
381830038186278332085
381930038199669922086
382030038208292912086
382130038214848212086
382230038228117402086
382330038230296612086
382430038242471302087
382530038252797822087
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;