Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 7,401–7,425 of 9,842

ticket, page 297 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
740130074011591904044
740230074020543444044
740330074035028444044
740430074049203874044
740530074054373404044
740630074061054504044
740730074077120874044
740830074080275794044
740930074090999024044
741030074105455894044
741130074111761374044
741230074128682004044
741330074135937464044
741430074144134224044
741530074154991154044
741630074168543774044
741730074177745844044
741830074182175934044
741930074198745574044
742030074202311484044
742130074211391974044
742230074223230354044
742330074230115154044
742430074246758554044
742530074253475674044
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;