Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,401–2,425 of 9,842

ticket, page 97 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
240130024016256831329
240230024021161221329
240330024033756791329
240430024044226371329
240530024051875841331
240630024069805141332
240730024070187281336
240830024086146261336
240930024090431681337
241030024107730561338
241130024115215791339
241230024123138761339
241330024137262131339
241430024145042491339
241530024151165421340
241630024166895921340
241730024178603461340
241830024188175821340
241930024193023821340
242030024209876941345
242130024214899711345
242230024228387871345
242330024239336101346
242430024240331571348
242530024253171111350
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;