Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,326–2,350 of 9,842

ticket, page 94 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
232630023263692531277
232730023274236511278
232830023289573211279
232930023298501741279
233030023304509561281
233130023313182591281
233230023327958361281
233330023333689601281
233430023346673401283
233530023352933601283
233630023365198111285
233730023376485511285
233830023388384721286
233930023397172701287
234030023403763831288
234130023414156081288
234230023424207931289
234330023433520361289
234430023445753531291
234530023456667561291
234630023466276181293
234730023476506311293
234830023484969231293
234930023495015191293
235030023501407921293
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;