indexes
This commit is contained in:
@@ -7,3 +7,8 @@ class SolutionFile(FileStorageMixin, models.Model):
|
||||
path = models.TextField()
|
||||
fs_id = models.IntegerField()
|
||||
solution = models.ForeignKey("Solution", on_delete=models.CASCADE)
|
||||
|
||||
class Meta:
|
||||
indexes = [
|
||||
models.Index(fields=['solution'])
|
||||
]
|
||||
|
Reference in New Issue
Block a user