Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,851–1,875 of 9,842

ticket, page 75 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
185130018513975021030
185230018520336981031
185330018537354061031
185430018548702711034
185530018550170281034
185630018569659731036
185730018572750691036
185830018586870351036
185930018599681871038
186030018601812461038
186130018611118961038
186230018627348661038
186330018632734281038
186430018647637621039
186530018651146151039
186630018662645091042
186730018673970861042
186830018682150081043
186930018693227461043
187030018707075461043
187130018712912101043
187230018726854441043
187330018732357731044
187430018744162691044
187530018756048041044
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;