Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 8,176–8,200 of 9,842

ticket, page 328 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
817630081762169474386
817730081771991374387
817830081784727704387
817930081793428284391
818030081806133984391
818130081812015824391
818230081825256044392
818330081837333014392
818430081848299394392
818530081850254614392
818630081868539514393
818730081871514054393
818830081889441524396
818930081893746034396
819030081904006904396
819130081910186004399
819230081924266454399
819330081933310604400
819430081948881474400
819530081955251054400
819630081968162714401
819730081974309224401
819830081989492224402
819930081996308794403
820030082008386084403
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;