Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 184 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
457630045765935332547
457730045778985592548
457830045788899702548
457930045791601802548
458030045807958722548
458130045812388432549
458230045823907472549
458330045839909942549
458430045849289892549
458530045857073802549
458630045868505522552
458730045873659302552
458830045889107782554
458930045892172342554
459030045909339902555
459130045915073722555
459230045926247372555
459330045933652332555
459430045940368212557
459530045958681182557
459630045966211822557
459730045973594772557
459830045987460892557
459930045995363472557
460030046008827542557
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;