Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 224 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
557630055763353663115
557730055771544163115
557830055781809113118
557930055799770233118
558030055804913743118
558130055810711053118
558230055821529703120
558330055833138423121
558430055840024963123
558530055852402323124
558630055863852623124
558730055873150553126
558830055883113993127
558930055896261163127
559030055906667443128
559130055912656763128
559230055923158803128
559330055937728033128
559430055949482273128
559530055956639733128
559630055967352013128
559730055974901593128
559830055985422883128
559930055992413273128
560030056001477013128
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;