Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 8,351–8,375 of 9,842

ticket, page 335 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
835130083518387244515
835230083520383264515
835330083539657244516
835430083542844284516
835530083553197654517
835630083565726664517
835730083575394104517
835830083580462034518
835930083597713864518
836030083604283324520
836130083614065034520
836230083626812424521
836330083634138224521
836430083645064104521
836530083659690204522
836630083667533804522
836730083670565354523
836830083689193784523
836930083697259174524
837030083704158194524
837130083711059314524
837230083729331954524
837330083733604884524
837430083748842044526
837530083754951774526
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;