Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 3,426–3,450 of 9,842

ticket, page 138 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
342630034266642421876
342730034274810231876
342830034289157621876
342930034299295731876
343030034304170571876
343130034316849611876
343230034326655451876
343330034331235521876
343430034345054471876
343530034354557521876
343630034362204591876
343730034379125191876
343830034389039361876
343930034392282891876
344030034403488811876
344130034418194601876
344230034425085281876
344330034435664061876
344430034440080901876
344530034456268051876
344630034468661001876
344730034476629611876
344830034480276511876
344930034498712681876
345030034502176551876
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;