feat(api): auto-delete WorkflowDraftVariable when app is deleted (#23737)

This commit introduces a background task that automatically deletes `WorkflowDraftVariable` records when
their associated workflow apps are deleted.

Additionally, it adds a new cleanup script
`cleanup-orphaned-draft-variables` to remove existing orphaned draft variables from the database.
This commit is contained in:
QuantumGhost 2025-08-13 11:13:08 +08:00 • committed by GitHub
commit e600070a61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 665 additions and 4 deletions

View file