Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 8,251–8,275 of 9,842

ticket, page 331 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
825130082510373714433
825230082528475794433
825330082530695804434
825430082544475644435
825530082556982454436
825630082560003944436
825730082574045204436
825830082581520904436
825930082594633674439
826030082604908404439
826130082614098614439
826230082629004104439
826330082635804954440
826430082641500654440
826530082654994914440
826630082660449174442
826730082677493364445
826830082685040554445
826930082696894744445
827030082700884094445
827130082712915304447
827230082721791134447
827330082736648524448
827430082741031024448
827530082754301944451
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;