Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 9,576–9,600 of 9,842

ticket, page 384 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
957630095769141015197
957730095775566005197
957830095787667335198
957930095798127975199
958030095809534585203
958130095818051885204
958230095821291715205
958330095839513745207
958430095848521775207
958530095851434465207
958630095862806265207
958730095873727955207
958830095884589035208
958930095896125365208
959030095908259275210
959130095918543305211
959230095923126385211
959330095937722285212
959430095941458895212
959530095950467055213
959630095969151695213
959730095977137125213
959830095986671455214
959930095998614775218
960030096003304805218
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;