Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 382 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
952630095266097955151
952730095278541865152
952830095289935745154
952930095292529645154
953030095303682375155
953130095314707565155
953230095328818195156
953330095330807315158
953430095347036155158
953530095350029485163
953630095364260895164
953730095370087805165
953830095384565295165
953930095392999995167
954030095406148305168
954130095410562345169
954230095421219565170
954330095431873905171
954430095443153515171
954530095459718915172
954630095465124195172
954730095471358325174
954830095484991875174
954930095498275485175
955030095506047135175
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;