deleted unique constraint on userproperty
This commit is contained in:
parent
18ec5d74c9
commit
2b0f0b8d08
|
@ -46,12 +46,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