Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,601–5,625 of 9,842

ticket, page 225 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
560130056018179343128
560230056028837443128
560330056039569003128
560430056043962253128
560530056050114863128
560630056069456403128
560730056070946063128
560830056083272953128
560930056094209653128
561030056104573483128
561130056115980063128
561230056129755163128
561330056139145653128
561430056141601893128
561530056151576803128
561630056165564803128
561730056175462863128
561830056180676523128
561930056192624453128
562030056205625773128
562130056215824393128
562230056228741423128
562330056234612223128
562430056243332453128
562530056256426003128
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;