Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 6,901–6,925 of 9,842

ticket, page 277 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
690130069010098933797
690230069025541453798
690330069031083123798
690430069049706073798
690530069051324363798
690630069065427323804
690730069078414493804
690830069086159463804
690930069096390843807
691030069109353253807
691130069118620383808
691230069121890993809
691330069131934523809
691430069146745623809
691530069157469913809
691630069169935273810
691730069172806503811
691830069180102203811
691930069199270443811
692030069203670713811
692130069215776333813
692230069228220843813
692330069239472743814
692430069247205543814
692530069256739303815
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;