Startup checks for the one-address-per-campaign index instead of creating it

FixEmailService
Shipped
September 12, 2026 at 3:14 AM UTC
Author
Kamo
Commit
c4e69e4

EmailService ran CREATE UNIQUE INDEX on every startup. DDL on this cluster costs every service about fifteen minutes of "schema version mismatch", too much to risk on each deploy of one service. The index is now created by KamoInitializerService, where schema changes are made; startup only reads pg_indexes and logs an error if the backstop is missing. The code-level rule applies either way.

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