Switchbordswitchbord
v0.16.17

v0.16.17

Constrain broadcast outbox status values at the database layer.

What's new


  • Added a validated database CHECK constraint for public.broadcast_outbox.status, limiting rows to pending, sent, or failed.

Security and operations


  • A live preflight confirmed there are currently zero broadcast_outbox rows and zero invalid status values.
  • The migration uses NOT VALID followed by VALIDATE CONSTRAINT so incompatible environments fail clearly during rollout.
  • This narrows a DB hardening gap where the prior live schema only guaranteed status IS NOT NULL.