mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
Accounts use soft-delete (setting deleted_at), so PostgreSQL's ON DELETE CASCADE on scheduled_test_plans.account_id never fires. Add plan deletion to the existing account deletion transaction to ensure atomicity. Closes Wei-Shaw/sub2api#1728