Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,801–2,825 of 9,842

ticket, page 113 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
280130028017644291573
280230028028124151575
280330028030259151578
280430028049854021579
280530028059205841579
280630028061983371580
280730028074363021581
280830028083225231581
280930028095881941582
281030028106075141582
281130028110915581584
281230028120766571585
281330028130386351588
281430028149833161591
281530028158367071591
281630028161568011592
281730028173519851592
281830028180690251593
281930028196189931595
282030028201984461595
282130028217724601595
282230028229112591596
282330028234542151597
282430028241093841597
282530028254842561597
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;