deleted unique constraint on userproperty

This commit is contained in:
Thomas Nahuel Rusiecki 2024-12-18 12:59:36 -03:00
parent 31d90a6e98
commit 2d7fd1df31

View file

@ -44,12 +44,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):