Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 3,001–3,025 of 9,842

ticket, page 121 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
300130030016837061693
300230030029350001693
300330030033108311694
300430030043650511694
300530030057860861696
300630030062287131696
300730030078876721696
300830030084820811696
300930030092757251697
301030030109542811697
301130030111680281699
301230030121019041702
301330030131150341703
301430030146122541703
301530030151451371704
301630030161901151704
301730030176191571705
301830030183462101705
301930030198210421706
302030030204495231707
302130030214286771707
302230030223807901707
302330030230892941709
302430030245775631709
302530030253987261711
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;