Skip to content

Commit

Permalink
feat #3037 Cascade deletion of essential FKs
Browse files Browse the repository at this point in the history
  • Loading branch information
joemull committed Feb 18, 2025
1 parent 6818dcb commit a0c31b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/submission/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a0c31b8

Please sign in to comment.