chore: soft deletion of cycle and module (#5884)

* chore: soft deletion of cycle and module

* chore: cycle module soft delete

* chore: added the deletion task

* chore: updated the env example

* chore: cycle issue unique constraints

* chore: udpated the Q operator
This commit is contained in:
Bavisetti Narayan 2024-10-22 14:21:26 +05:30 committed by GitHub
parent 00eff43f4d
commit 7bf4620bc1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 317 additions and 141 deletions

View file

@ -123,7 +123,7 @@ class WorkspaceUserProfileIssuesEndpoint(BaseAPIView):
.annotate(
cycle_id=Case(
When(
issue_cycle__cycle__deleted_at__isnull=True,
issue_cycle__deleted_at__isnull=True,
then=F("issue_cycle__cycle_id"),
),
default=None,