Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 143 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
355130035518253681946
355230035527606751946
355330035533163041947
355430035542282421947
355530035558367381947
355630035566723121948
355730035572781921949
355830035581673771950
355930035590916751951
356030035601480991954
356130035615813951955
356230035621628341955
356330035637912091958
356430035640991781959
356530035653742581959
356630035664966131959
356730035673535001959
356830035685040911961
356930035693548121961
357030035703008711962
357130035710674421962
357230035723210421963
357330035735120051963
357430035746175201963
357530035758307641963
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;