Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,651–2,675 of 9,842

ticket, page 107 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
265130026514727471504
265230026521552691504
265330026534390981508
265430026542570121509
265530026552829211509
265630026562458341510
265730026579459081510
265830026585314001511
265930026592732021511
266030026605021421511
266130026616907121511
266230026622772821512
266330026637691721512
266430026647599211513
266530026652563021514
266630026666501891514
266730026679426401517
266830026682809391517
266930026699598481518
267030026703588241518
267130026716651411519
267230026727770151519
267330026736156611519
267430026749848531519
267530026751082811519
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;