From 32ccacf4740d08490a2e6f5ab2c042e850525217 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 a00e373..7a80750 100644 --- a/evidence/models.py +++ b/evidence/models.py @@ -45,12 +45,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):