[WEB-2631] chore: changed the cascading logic for soft delete (#5829)

* chore: changed the cascading logic for soft delete

* chore: changed the delete key

* chore: added the key on delete in project base model
This commit is contained in:
Bavisetti Narayan 2024-10-15 13:30:44 +05:30 committed by GitHub
parent 662b99da92
commit 3d7d3c8af1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -181,7 +181,7 @@ class ProjectBaseModel(BaseModel):
Project, on_delete=models.CASCADE, related_name="project_%(class)s"
)
workspace = models.ForeignKey(
"db.Workspace", models.CASCADE, related_name="workspace_%(class)s"
"db.Workspace", on_delete=models.CASCADE, related_name="workspace_%(class)s"
)
class Meta: