Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 7,901–7,925 of 9,842

ticket, page 317 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
790130079015834884242
790230079025123024243
790330079039613234244
790430079047880484244
790530079052155234244
790630079062156084244
790730079076185584245
790830079089629074245
790930079094841754245
791030079109462534245
791130079119768994246
791230079125299584246
791330079137506244248
791430079145083144249
791530079150333524249
791630079160241274249
791730079179367374249
791830079184690024253
791930079195520754253
792030079205800044254
792130079213557224254
792230079227128404254
792330079237756374254
792430079244242384256
792530079259008724256
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;