Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 726–750 of 9,842

ticket, page 30 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
7263000726185037359
7273000727319908360
7283000728144995361
7293000729892621361
7303000730576037362
7313000731640163362
7323000732039338363
7333000733583141364
7343000734919657365
7353000735000690365
7363000736722215366
7373000737177788367
7383000738347128370
7393000739739218370
7403000740463295370
7413000741644529371
7423000742055162371
7433000743938133372
7443000744983634372
7453000745027468373
7463000746826780374
7473000747070379375
7483000748709934375
7493000749915652376
7503000750338384376
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;