forked from langflow-ai/langflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix flow addition to session and handle IntegrityError for orpha…
…ned flows (langflow-ai#4799) * Handle IntegrityError specifically when assigning orphaned flows to superuser * Add missing session.add(flow) to ensure flow is added to the session before commit
- Loading branch information
1 parent
2e63f5b
commit 2253644
Showing
2 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters