class Agreement(modes.Model):
job = models.ForeignKey(...)
class Meta:
indexes = (
models.Index(fields=['job']),
)
class Agreement(modes.Model):
job = models.ForeignKey(..., db_index=True)
- Remove index agreements__job_id_eb7df0_idx from agreement