Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,626–1,650 of 9,842

ticket, page 66 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
16263001626077192906
16273001627639832906
16283001628001323906
16293001629145070906
16303001630461564906
16313001631019523907
16323001632532431907
16333001633057273908
16343001634014524911
16353001635787946913
16363001636920280914
16373001637571193915
16383001638287586915
16393001639485247915
16403001640506855915
16413001641298917916
16423001642196498916
16433001643234104917
16443001644337694919
16453001645025372919
16463001646522469919
16473001647216475919
16483001648756539919
16493001649039482920
16503001650521960920
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;