Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 4,526–4,550 of 9,842

ticket, page 182 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
452630045262302532516
452730045275963062519
452830045287085802519
452930045295033532519
453030045306576202519
453130045316785592520
453230045325603232522
453330045339803322522
453430045344869302523
453530045352209262523
453630045360146302523
453730045377031992525
453830045382362892525
453930045390326342525
454030045401484292527
454130045410142242527
454230045429238862528
454330045439844432528
454430045442731232528
454530045452636102529
454630045460343252529
454730045473874492529
454830045488244232529
454930045498156372531
455030045504982712532
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;