Add webhook ID to asset restriction model

This commit is contained in:
2023-02-10 21:13:12 +00:00
parent 101a4933c9
commit 1d01368570
2 changed files with 27 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
import uuid
from datetime import timedelta
import stripe
@@ -439,6 +440,8 @@ class AssetRestriction(models.Model):
pairs = models.CharField(max_length=4096, null=True, blank=True)
pairs_parsed = models.JSONField(null=True, blank=True)
webhook_id = models.UUIDField(default=uuid.uuid4, editable=False, unique=True)
group = models.ForeignKey(
AssetGroup, on_delete=models.CASCADE, null=True, blank=True
)