Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 5,326–5,350 of 9,842

ticket, page 214 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
532630053268198502957
532730053279862492957
532830053288998522957
532930053293261062958
533030053306803352958
533130053318867252958
533230053321849842958
533330053335966872960
533430053344986422962
533530053355085032963
533630053368918742963
533730053371765412966
533830053383627942966
533930053395722892968
534030053407257362972
534130053419367412972
534230053428514432972
534330053435716012972
534430053447880222973
534530053455264632973
534630053462844942973
534730053470179482976
534830053482373412976
534930053492254342978
535030053505274402980
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;