Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 526–550 of 9,842

ticket, page 22 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
5263000526178867226
5273000527729413226
5283000528822900226
5293000529142771227
5303000530971332227
5313000531460668227
5323000532270036228
5333000533393860228
5343000534574146228
5353000535545247228
5363000536920115228
5373000537071394231
5383000538358984232
5393000539073478232
5403000540386858233
5413000541345589236
5423000542126765236
5433000543365089239
5443000544265680239
5453000545684637240
5463000546887057242
5473000547957982242
5483000548487395243
5493000549483437243
5503000550438370244
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;