Properties rework, States, StatesDefinitions, DeviceLog, and Notes #37
|
@ -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