Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,926–2,950 of 9,842

ticket, page 118 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
292630029267002361664
292730029270548031665
292830029280563081665
292930029291925341666
293030029305267601666
293130029310434671666
293230029321976401666
293330029332430581668
293430029340195861668
293530029350898461671
293630029360166621671
293730029374937271672
293830029387032931672
293930029391578671672
294030029400436671674
294130029413439411675
294230029427295321677
294330029434531621677
294430029448253941680
294530029450041181680
294630029462240971683
294730029470062751683
294830029480137061683
294930029497626201683
295030029509111911684
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;