Add webhook ID to asset restriction model
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user