SIGN IN SIGN UP
langflow-ai / langflow UNCLAIMED

Langflow is a powerful tool for building and deploying AI-powered agents and workflows.

146432 0 0 Python

fix: Cascading deletes to files when deleting users (#12155)

* fix: Cascading delets to files when deleting users

* Add a test for delete cascades

* Ensure in-db cascade

* [autofix.ci] apply automated fixes

* Update 0e6138e7a0c2_add_ondelete_cascade_to_file_user_id_fk.py

* Update 0e6138e7a0c2_add_ondelete_cascade_to_file_user_id_fk.py

* Update src/backend/base/langflow/alembic/versions/0e6138e7a0c2_add_ondelete_cascade_to_file_user_id_fk.py

Co-authored-by: Copilot <[email protected]>

* Update test_user.py

* Update src/backend/tests/unit/test_user.py

Co-authored-by: Copilot <[email protected]>

* Update src/backend/base/langflow/alembic/versions/0e6138e7a0c2_add_ondelete_cascade_to_file_user_id_fk.py

Co-authored-by: Copilot <[email protected]>

* Update test_user.py

* Update src/backend/tests/unit/test_user.py

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <[email protected]>
E
Eric Hare committed
4334e0bd32795b5504dbcef9e3fac7a8984d9a6b
Parent: c4adc7d
Committed by GitHub <[email protected]> on 3/12/2026, 8:21:04 PM