Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1,301–1,325 of 9,842

ticket, page 53 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
13013001301229502709
13023001302445605709
13033001303359486709
13043001304295596710
13053001305467080710
13063001306090371710
13073001307982039712
13083001308209937712
13093001309247600713
13103001310393888713
13113001311008094713
13123001312018680713
13133001313561675714
13143001314215398714
13153001315668440717
13163001316693367717
13173001317096534719
13183001318807447719
13193001319634166719
13203001320501239720
13213001321138845720
13223001322195689721
13233001323647371721
13243001324706691722
13253001325135843723
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;