parent
206ffc65af
commit
18b14001b4
2 changed files with 28 additions and 2 deletions
|
@ -576,8 +576,8 @@ class Image(BaseModel):
|
|||
v1_json_metadata = TextField(null=True)
|
||||
v1_checksum = CharField(null=True)
|
||||
|
||||
security_indexed = BooleanField(default=False)
|
||||
security_indexed_engine = IntegerField(default=-1)
|
||||
security_indexed = BooleanField(default=False, index=True)
|
||||
security_indexed_engine = IntegerField(default=-1, index=True)
|
||||
|
||||
# We use a proxy here instead of 'self' in order to disable the foreign key constraint
|
||||
parent = ForeignKeyField(_ImageProxy, index=True, null=True, related_name='children')
|
||||
|
|
Reference in a new issue