deleted unique constraint on userproperty
This commit is contained in:
parent
31d90a6e98
commit
2d7fd1df31
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue