Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 901–925 of 9,842

ticket, page 37 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
9013000901095752481
9023000902396085481
9033000903241817482
9043000904620163482
9053000905429581483
9063000906948225484
9073000907703769486
9083000908356159486
9093000909538566486
9103000910709183486
9113000911849778488
9123000912742312488
9133000913013102489
9143000914995104489
9153000915740912490
9163000916039439490
9173000917879273490
9183000918658045491
9193000919932568492
9203000920493642493
9213000921320085493
9223000922452301493
9233000923190099493
9243000924186126493
9253000925837482495
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;