Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 4,051–4,075 of 9,842

ticket, page 163 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
405130040519523742256
405230040529296322257
405330040538148672257
405430040540350022261
405530040552477172261
405630040567228942262
405730040574950302263
405830040581321042264
405930040596113582266
406030040603048862266
406130040610987092267
406230040629344022268
406330040635845832270
406430040648327952271
406530040655742812271
406630040663572102272
406730040677149952272
406830040680645682272
406930040694112842274
407030040705462542276
407130040710347912276
407230040721643302276
407330040733341212277
407430040746781392277
407530040754479122278
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;