[IMP] Add index on attachment_queue
parent
462a3db5d6
commit
ecd7a293e7
|
@ -30,6 +30,7 @@ class AttachmentQueue(models.Model):
|
||||||
)
|
)
|
||||||
file_type = fields.Selection(
|
file_type = fields.Selection(
|
||||||
selection=[],
|
selection=[],
|
||||||
|
index="btree",
|
||||||
help="The file type determines an import method to be used "
|
help="The file type determines an import method to be used "
|
||||||
"to parse and transform data before their import in ERP or an export",
|
"to parse and transform data before their import in ERP or an export",
|
||||||
)
|
)
|
||||||
|
@ -39,6 +40,7 @@ class AttachmentQueue(models.Model):
|
||||||
readonly=False,
|
readonly=False,
|
||||||
required=True,
|
required=True,
|
||||||
default="pending",
|
default="pending",
|
||||||
|
index="btree",
|
||||||
)
|
)
|
||||||
state_message = fields.Text()
|
state_message = fields.Text()
|
||||||
failure_emails = fields.Char(
|
failure_emails = fields.Char(
|
||||||
|
|
Loading…
Reference in New Issue