Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 6,551–6,575 of 9,842

ticket, page 263 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
655130065514584553608
655230065528233683608
655330065536498803608
655430065547919253609
655530065557427123609
655630065566019413610
655730065579564743610
655830065585888013610
655930065594182873612
656030065609956533613
656130065616973093615
656230065628729903616
656330065638763733616
656430065648206803619
656530065658067443619
656630065662056063620
656730065672899713622
656830065688024653623
656930065691846213623
657030065705118493623
657130065710183123624
657230065724129243624
657330065739750613625
657430065741716543626
657530065754749653626
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;