2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

Recursive delete fix fix (#5819)

* Enable mysql checks as part of PR

* Add debug for CI

* Add delete_nodes method

- Ensure that the "parent" field is set to None before delete
- This means that we do not violate any ForeignKey constraints due to undefined order of operations
This commit is contained in:
Oliver
2023-10-31 22:58:43 +11:00
committed by GitHub
parent 4913acda79
commit 2908ad0721
3 changed files with 22 additions and 3 deletions

View File

@ -274,7 +274,6 @@ jobs:
runs-on: ubuntu-20.04
needs: [ 'pep_style', 'pre-commit' ]
if: github.event_name == 'push'
env:
# Database backend configuration