deleted unique constraint on userproperty

This commit is contained in:
Thomas Nahuel Rusiecki 2024-12-18 12:59:36 -03:00 committed by Cayo Puigdefabregas
parent 641f394305
commit 32ccacf474

View file

@ -45,12 +45,6 @@ class UserProperty(Property):
type = models.SmallIntegerField(choices=Type, default=Type.USER) 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: class Evidence:
def __init__(self, uuid): def __init__(self, uuid):