Add submission index
This commit is contained in:
parent
07c3a8859b
commit
545c655e73
2 changed files with 20 additions and 0 deletions
|
@ -276,6 +276,7 @@ class Submission(models.Model):
|
|||
indexes = [
|
||||
models.Index(fields=["problem", "user", "-points"]),
|
||||
models.Index(fields=["contest_object", "problem", "user", "-points"]),
|
||||
models.Index(fields=["language", "result"]),
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue