Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 2,626–2,650 of 9,842

ticket, page 106 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
262630026263516561492
262730026278098011492
262830026283937451493
262930026291109201494
263030026303192581494
263130026310973551496
263230026321397431496
263330026337773251496
263430026345285441498
263530026359969301498
263630026367680681498
263730026375850281498
263830026389918951498
263930026391156011499
264030026404201391499
264130026410230121499
264230026428022251499
264330026439231971501
264430026448419291501
264530026451742651501
264630026465055991501
264730026474935201501
264830026486792891504
264930026498854581504
265030026509437591504
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;