mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 17:30:23 +08:00
在 ProviderAPIKey 删除前,先批量删除 RequestCandidate、GeminiFileMapping、 VideoTask 等关联表记录,替代依赖数据库 CASCADE 级联删除,防止大量关联 记录导致删除操作超时。Pool 批量删除、封禁清理、Endpoint 批量删除三处 统一使用 cleanup_key_references。