Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 4,151–4,175 of 9,842

ticket, page 167 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
415130041513256612307
415230041520104302307
415330041538703982307
415430041545668322308
415530041554493182308
415630041560706352308
415730041573278642308
415830041583148102309
415930041596690822309
416030041601903612311
416130041618071772311
416230041625747742311
416330041633802752311
416430041648301962313
416530041656648362314
416630041660107332314
416730041675374172316
416830041687641352317
416930041695269992318
417030041706680232318
417130041711447192319
417230041725226492321
417330041739624722321
417430041741805822322
417530041756982132324
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;