Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 3,626–3,650 of 9,842

ticket, page 146 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
362630036268680841999
362730036273697131999
362830036288172381999
362930036290648502000
363030036306697402001
363130036319661482003
363230036323445662004
363330036330711892004
363430036349296202005
363530036352079362005
363630036368158942005
363730036376422832006
363830036385272562006
363930036391382452006
364030036400367002006
364130036411188122006
364230036424562562006
364330036434111432006
364430036444168882006
364530036456617312006
364630036465078802006
364730036476429192006
364830036481295042006
364930036492743952006
365030036505353002006
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;