Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 851–875 of 9,842

ticket, page 35 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
8513000851999903450
8523000852273467452
8533000853017138452
8543000854877527452
8553000855116956452
8563000856444264452
8573000857901899454
8583000858875127456
8593000859926528458
8603000860329794458
8613000861349986459
8623000862519087459
8633000863167455459
8643000864615476459
8653000865310284461
8663000866515685461
8673000867845775462
8683000868553520462
8693000869652962462
8703000870788347462
8713000871553861463
8723000872268931463
8733000873516424464
8743000874684929464
8753000875137989464
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;