mirror of
https://gitee.com/wanwujie/sub2api
synced 2026-05-04 21:20:51 +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