Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 4,751–4,775 of 9,842

ticket, page 191 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
475130047511014822605
475230047529267062606
475330047531493422607
475430047543178192607
475530047557978612607
475630047562499382607
475730047574102022608
475830047581338202609
475930047594714942609
476030047602036742609
476130047617708512609
476230047628444662610
476330047632274792610
476430047641283532611
476530047658112252613
476630047668731482615
476730047672407782616
476830047684106412616
476930047694183972618
477030047700041882620
477130047710833682620
477230047721221442620
477330047739572562622
477430047743462102623
477530047756708442624
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;