Skip to content
Louvre Ops DB

Table

ticket

Each admission ticket and its unique barcode.

Replaces in 2020: Ticket

Rows 9,051–9,075 of 9,842

ticket, page 363 of 394
ticket_idINTEGERbarcodeTEXTorder_id→ purchase_order.order_id
905130090516781604888
905230090528761984888
905330090539751634888
905430090549189464888
905530090558847994888
905630090560639994888
905730090571869094888
905830090584125304888
905930090598958084888
906030090607652014888
906130090614183484888
906230090627475594888
906330090639097584888
906430090640249214888
906530090650900864888
906630090668393224888
906730090679849634888
906830090685073284888
906930090695740144888
907030090701870054888
907130090715330804888
907230090727513584888
907330090739474204888
907430090748366414888
907530090758717654888
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;