Soft delete notifications
This commit is contained in:
parent
fbde06f0ef
commit
8a7453ce0e
|
|
@ -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={})
|
||||
|
|
|
|||
Loading…
Reference in New Issue