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:
Generated
+10783
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user