Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 8,026–8,050 of 9,842

ticket, page 322 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
802630080268918294289
802730080278874804289
802830080281561834289
802930080296743334289
803030080305057734289
803130080317999574289
803230080327523344289
803330080332391414289
803430080344841324289
803530080358189374291
803630080365479784291
803730080379001274292
803830080388409684293
803930080390681324293
804030080401672034293
804130080417487724294
804230080426977034294
804330080434905504295
804430080445885884295
804530080459841574296
804630080464900374297
804730080477155224297
804830080486272774299
804930080496276164299
805030080500610904300
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;