Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

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

ticket, page 193 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
480130048019122252636
480230048024672642636
480330048035358492636
480430048048278562638
480530048050509842638
480630048068770432638
480730048070331392641
480830048089199702641
480930048094208822646
481030048109100582650
481130048110894312651
481230048122962032651
481330048134505292651
481430048145522062652
481530048157935042653
481630048164042682653
481730048178437432654
481830048184302072654
481930048195282082657
482030048207569622657
482130048217997612657
482230048223882482658
482330048231763872658
482430048240340612659
482530048253829952659
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;