Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 1–25 of 9,842

ticket, page 1 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
130000012690401
230000020316141
330000037675942
430000045304732
530000059689053
630000063414523
730000078409084
830000085530945
930000094203675
1030000102526385
1130000112853155
1230000125643895
1330000133921515
1430000147878195
1530000153667745
1630000165261555
1730000176585685
1830000181810305
1930000198914455
2030000200563135
2130000216249755
2230000223810275
2330000232858655
2430000248993195
2530000259878475
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;