Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,101–5,125 of 9,842

ticket, page 205 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
510130051011492642817
510230051021198542817
510330051036343282817
510430051045109002817
510530051056411692817
510630051066720212817
510730051075681202817
510830051088875382817
510930051093669642817
511030051104215572817
511130051119369172817
511230051128155252817
511330051137968162817
511430051148779822817
511530051150731512817
511630051161432942817
511730051178717012817
511830051189483582817
511930051196283962817
512030051207935222817
512130051218923812817
512230051225191372817
512330051234488932818
512430051243742202819
512530051250571842819
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;