From 2d7fd1df31f807cb36c7e9ba16824a037aff860e Mon Sep 17 00:00:00 2001 From: Thomas Rusiecki Date: Wed, 18 Dec 2024 12:59:36 -0300 Subject: [PATCH] deleted unique constraint on userproperty --- evidence/models.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/evidence/models.py b/evidence/models.py index 3457d2b..4424de6 100644 --- a/evidence/models.py +++ b/evidence/models.py @@ -44,12 +44,6 @@ class UserProperty(Property): type = models.SmallIntegerField(choices=Type, default=Type.USER) - class Meta: - constraints = [ - models.UniqueConstraint( - fields=["key", "uuid", "type"], name="user_unique_type_key_uuid") - ] - class Evidence: def __init__(self, uuid):