Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,351–1,375 of 9,842

ticket, page 55 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
13513001351408244743
13523001352487540743
13533001353468217744
13543001354606198744
13553001355448589746
13563001356713432750
13573001357136812751
13583001358109563751
13593001359985555752
13603001360029750755
13613001361572466757
13623001362174745758
13633001363817794758
13643001364757397759
13653001365512434759
13663001366862821759
13673001367630570759
13683001368273647759
13693001369416382760
13703001370481457760
13713001371847248764
13723001372830715766
13733001373466782767
13743001374718886768
13753001375239625768
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;