Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 6,926–6,950 of 9,842

ticket, page 278 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
692630069265674223815
692730069274687193816
692830069289525843817
692930069293112423817
693030069304709103817
693130069314023233818
693230069321923403818
693330069338027953819
693430069346532313819
693530069359908353820
693630069369503313820
693730069378650633821
693830069383801973821
693930069395713183821
694030069406476793821
694130069410355903823
694230069424510963823
694330069430692233823
694430069446326553825
694530069453396983825
694630069467072603825
694730069475955353826
694830069484161493827
694930069492342733828
695030069509592463828
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;