Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 103 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
255130025510595021434
255230025527531151434
255330025533763591434
255430025545134261434
255530025554571011435
255630025565838441435
255730025571250021437
255830025589003761437
255930025597695931438
256030025601123751440
256130025619912241441
256230025625570811442
256330025634420361443
256430025640054811444
256530025659770001445
256630025668687271445
256730025675970841445
256830025687740621446
256930025694826741446
257030025707098481447
257130025716922321447
257230025722655071448
257330025730847201448
257430025747795691448
257530025751660671450
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;