Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 9,201–9,225 of 9,842

ticket, page 369 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
920130092018453364967
920230092024196244967
920330092033790264967
920430092043548794967
920530092051284814967
920630092069488454967
920730092076028224967
920830092084258844967
920930092092992614967
921030092100943544967
921130092112713744967
921230092123109814967
921330092130684934967
921430092143975344967
921530092150455014967
921630092160888734967
921730092176524914967
921830092182333264967
921930092197191734967
922030092208863884967
922130092219007984967
922230092225638574967
922330092239677674967
922430092246091394967
922530092254722674967
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;