From ecf0d5953f77b08848c1fe7a9b6c88c97a0cee83 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 14baa2a..c9c38ec 100644 --- a/evidence/models.py +++ b/evidence/models.py @@ -46,12 +46,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):