diff --git a/src/submission/models.py b/src/submission/models.py index 23af377da..31244ce02 100755 --- a/src/submission/models.py +++ b/src/submission/models.py @@ -2263,20 +2263,20 @@ class Meta: 'core.Account', blank=True, null=True, - on_delete=models.SET_NULL, + on_delete=models.CASCADE, ) frozen_author = models.ForeignKey(FrozenAuthor, blank=True, null=True, - on_delete=SET_NULL) + on_delete=models.CASCADE) preprint_author = models.ForeignKey(repository_models.PreprintAuthor, blank=True, null=True, - on_delete=SET_NULL) + on_delete=models.CASCADE) article = models.ForeignKey(Article, blank=True, null=True, - on_delete=SET_NULL) + on_delete=models.CASCADE) role = models.CharField(max_length=100, blank=True, null=True,