mirror of
https://github.com/langgenius/dify.git
synced 2025-11-22 16:06:53 +00:00
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.