Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,226–5,250 of 9,842

ticket, page 210 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
522630052268907852870
522730052273921792870
522830052282920822870
522930052290816202871
523030052304861582873
523130052313171392873
523230052322236812874
523330052339146412874
523430052345793772874
523530052357963282875
523630052369588812875
523730052375535592879
523830052384773422880
523930052397171782880
524030052404345182880
524130052411065662883
524230052421218142888
524330052439363272888
524430052443610902890
524530052454281842892
524630052464180632892
524730052471682072895
524830052482871072897
524930052495859772897
525030052508114102899
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;