Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 8,676–8,700 of 9,842

ticket, page 348 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
867630086769431654711
867730086774891454711
867830086783013684712
867930086792555384712
868030086808145724712
868130086818111074712
868230086821037164712
868330086835067724713
868430086849639514713
868530086856055604715
868630086862700344715
868730086870880764716
868830086882601914716
868930086894943624716
869030086900751184716
869130086919647444717
869230086922030764717
869330086936073014718
869430086943884334718
869530086953305424718
869630086965053394719
869730086972876674719
869830086983120754721
869930086995714794721
870030087008002534721
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;