Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 6,301–6,325 of 9,842

ticket, page 253 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
630130063012433473478
630230063024575493480
630330063031934803481
630430063040635793482
630530063055547803482
630630063062017763483
630730063079616133485
630830063088925113485
630930063090162573485
631030063106488343485
631130063116749883488
631230063120455703488
631330063132863763488
631430063149371323488
631530063154470453488
631630063161040533489
631730063170335953489
631830063188927183491
631930063195666013491
632030063207067843491
632130063211896643491
632230063229267323491
632330063239908503493
632430063240987903493
632530063252359223493
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;