Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,426–5,450 of 9,842

ticket, page 218 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
542630054269829443000
542730054278159143001
542830054289526583002
542930054291482113003
543030054303321393003
543130054314699213004
543230054323005613008
543330054336656893008
543430054341362353008
543530054350122793008
543630054365924773009
543730054371495203010
543830054389287563010
543930054391633543011
544030054407173593011
544130054412820873014
544230054420369073015
544330054433935403016
544430054442574013016
544530054454298883018
544630054468082863018
544730054474803763018
544830054483826543018
544930054494523133018
545030054505261783021
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;