Switchbordswitchbord
v0.16.15

v0.16.15

Add validated phone and email format constraints for clean DB fields.

What's new


  • Added database CHECK constraints for clean high-risk phone/email fields on channels, website widget visitors, workspace invites, and broadcast outbox rows.

Security and operations


  • The migration uses NOT VALID followed by VALIDATE CONSTRAINT so invalid historical data fails clearly during rollout.
  • A live aggregate-only preflight found historical dirty rows in contacts.phone_e164 and contacts.email; those contact fields are intentionally deferred until a separate cleanup decision is approved.
  • No phone numbers or email addresses are stored in the committed preflight artifact.