Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 9,101–9,125 of 9,842

ticket, page 365 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
910130091019104584901
910230091028159604901
910330091030587774901
910430091043864194904
910530091055221214904
910630091069241344904
910730091074469654905
910830091083442034905
910930091097306974907
911030091106970914907
911130091114628754907
911230091127359964907
911330091134305544908
911430091146640644908
911530091153291724910
911630091162812234911
911730091176320354913
911830091188754774913
911930091198453134915
912030091204116184915
912130091215937054917
912230091226497984918
912330091236129234918
912430091246837504918
912530091253875584918
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;