Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 351–375 of 9,842

ticket, page 15 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
3513000351855132176
3523000352774249176
3533000353323923176
3543000354649176177
3553000355530818177
3563000356744387178
3573000357900267178
3583000358676113179
3593000359745127179
3603000360905312179
3613000361391288180
3623000362141292180
3633000363495095180
3643000364609911180
3653000365631908180
3663000366202215180
3673000367243189180
3683000368148021180
3693000369404467180
3703000370578392180
3713000371326863180
3723000372422714180
3733000373972781180
3743000374453274180
3753000375745245180
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;