Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 344 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
857630085766865344659
857730085776699014659
857830085788569374659
857930085795640544659
858030085801369774661
858130085812524364661
858230085828151654663
858330085830926484664
858430085848481334664
858530085850070614666
858630085869089474667
858730085877295264667
858830085889049534669
858930085891785794669
859030085903992104671
859130085918626964671
859230085925884884671
859330085935980224671
859430085948840864672
859530085951165204673
859630085963191244673
859730085978077414674
859830085986565024675
859930085990188624676
860030086007732334676
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;