Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 7,026–7,050 of 9,842

ticket, page 282 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
702630070269399313848
702730070276986763849
702830070284410363849
702930070293731363849
703030070304424233850
703130070311685783850
703230070329888553850
703330070337608213850
703430070341228513851
703530070359353753851
703630070364522023852
703730070378757233853
703830070382180573854
703930070392828253854
704030070405846053855
704130070411523903855
704230070426961373856
704330070437309833858
704430070448671653858
704530070458864993858
704630070462263933858
704730070475860213860
704830070488676253861
704930070493529363861
705030070509724763861
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;