Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,626–5,650 of 9,842

ticket, page 226 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
562630056264071533128
562730056270421953128
562830056285352603128
562930056292227563128
563030056305892303128
563130056313457853128
563230056325100523133
563330056332016003133
563430056340256573135
563530056351674683135
563630056361676993136
563730056372910573136
563830056388517063137
563930056392600973137
564030056409609003139
564130056411779863139
564230056428536273140
564330056430434633140
564430056448215813140
564530056453041903142
564630056463216413142
564730056474169663143
564830056486118223143
564930056499838903143
565030056501662193143
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;