Fix data purge FK violation on Appointments and apply pending migration

DataPurgeController was deleting Jobs without first clearing the nullable
Appointments.JobId FK, causing FK_Appointments_Jobs_JobId violations.
Fix nulls out the FK on any linked appointments before the DELETE runs.

Also applies migration AddAllowCustomFormulas (AllowCustomFormulas column
on SubscriptionPlanConfigs for custom formula pricing feature gating).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-26 08:54:48 -04:00
parent 91a176ce5c
commit 5b5247624c
4 changed files with 10871 additions and 3 deletions
File diff suppressed because it is too large Load Diff