Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,526–5,550 of 9,842

ticket, page 222 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
552630055264721833083
552730055272307353085
552830055282736693085
552930055297688113085
553030055304433883085
553130055310665643085
553230055322114073086
553330055339637173087
553430055346203603087
553530055353042833087
553630055364952443091
553730055376387793091
553830055383503023091
553930055395511303093
554030055406397393094
554130055418852493094
554230055428279693094
554330055436720003094
554430055446344253095
554530055456215583096
554630055469712883096
554730055476286253096
554830055482660613096
554930055493452593097
555030055504463853097
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;