Saving a campaign never writes back its counts

Fixkamo-shared-library
Shipped
September 12, 2026 at 11:32 PM UTC
Author
Kamo
Commit
1cd3b4e

The five counters are running totals now, moved only by EmailService with relative updates ("sent_count = sent_count + 1"). Mapped updatable = false, so a campaign loaded before a send and saved after it cannot put the old counts back. A mapping change only: no schema change.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing