Skip to content

Commit

Permalink
Add OrganisationBreachedGracePeriod model
Browse files Browse the repository at this point in the history
  • Loading branch information
zachaysan committed Aug 6, 2024
1 parent e3c7629 commit d11a16c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions api/organisations/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,14 @@ class OrganisationAPIUsageNotification(models.Model):
updated_at = models.DateTimeField(null=True, auto_now=True)


class OrganisationBreachedGracePeriod(models.Model):
organisation = models.OneToOneField(
Organisation, on_delete=models.CASCADE, related_name="breached_grace_period"
)
created_at = models.DateTimeField(null=True, auto_now_add=True)
updated_at = models.DateTimeField(null=True, auto_now=True)


class APILimitAccessBlock(models.Model):
organisation = models.OneToOneField(
Organisation, on_delete=models.CASCADE, related_name="api_limit_access_block"
Expand Down

0 comments on commit d11a16c

Please sign in to comment.