Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 197 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
490130049014374062724
490230049024629282726
490330049030272192726
490430049043563042726
490530049050300712726
490630049063574412727
490730049071086672729
490830049086552402729
490930049090083342729
491030049109474332729
491130049115544872732
491230049129157492733
491330049138221502733
491430049144004872734
491530049156800612734
491630049166034622736
491730049175846772736
491830049186294542736
491930049197497802738
492030049204428912738
492130049211912822741
492230049225147452741
492330049236183102741
492430049245820852742
492530049254919932747
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;