Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 9,626–9,650 of 9,842

ticket, page 386 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
962630096267606585239
962730096276087055239
962830096287830835243
962930096293821465243
963030096302434345244
963130096317432425244
963230096323556145245
963330096337580525245
963430096346924105247
963530096357623455247
963630096366233775247
963730096372071235247
963830096380646595248
963930096397383065248
964030096401544185249
964130096412234425253
964230096424706165253
964330096434733255254
964430096449843395258
964530096456663345258
964630096463104195260
964730096473590445262
964830096485823225263
964930096490256695263
965030096501932595264
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;