Soft delete notifications

This commit is contained in:
Elia Bieri 2023-06-08 14:18:21 +02:00
parent fbde06f0ef
commit 8a7453ce0e
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ from vbv_lernwelt.notify.models import Notification
def command(create_completion):
print("cypress reset data")
CourseCompletion.objects.all().delete()
Notification.objects.all().delete()
Notification.objects.all().mark_all_as_deleted()
AssignmentCompletion.objects.all().delete()
User.objects.all().update(language="de")
User.objects.all().update(additional_json_data={})