Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,126–5,150 of 9,842

ticket, page 206 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
512630051263157832821
512730051276210312824
512830051286142362824
512930051299721522826
513030051309935772827
513130051310348572827
513230051324788592828
513330051332487562828
513430051349836602830
513530051356001882830
513630051365563552832
513730051370581242832
513830051388477332833
513930051392032002833
514030051405684652834
514130051417372962834
514230051426035752836
514330051437456542836
514430051440806502836
514530051455112342836
514630051461900722839
514730051470807042839
514830051487081692840
514930051494668212840
515030051505257162843
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;