Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,026–2,050 of 9,842

ticket, page 82 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
202630020268989331115
202730020277326991115
202830020280927701116
202930020294607591117
203030020300841511118
203130020310652161119
203230020322627791119
203330020333263591119
203430020344570141119
203530020353612961120
203630020364099541120
203730020373197491120
203830020382093281120
203930020396899441121
204030020402192651121
204130020417735501122
204230020421965461122
204330020438487381124
204430020441628931124
204530020454959581124
204630020467852261124
204730020475872651126
204830020489479761127
204930020492178981127
205030020502833831128
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;