type needs index too
This commit is contained in:
parent
c32603dcbc
commit
f2b7ddd7b4
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class Place(models.Model):
|
||||||
countryCode = models.CharField(max_length=16, default='', db_index=True)
|
countryCode = models.CharField(max_length=16, default='', db_index=True)
|
||||||
|
|
||||||
wikipediaId = models.CharField(max_length=1000, blank=True)
|
wikipediaId = models.CharField(max_length=1000, blank=True)
|
||||||
type = models.CharField(max_length=1000, default='')
|
type = models.CharField(max_length=1000, default='', db_index=True)
|
||||||
|
|
||||||
south = models.FloatField(default=None, null=True, db_index=True)
|
south = models.FloatField(default=None, null=True, db_index=True)
|
||||||
west = models.FloatField(default=None, null=True, db_index=True)
|
west = models.FloatField(default=None, null=True, db_index=True)
|
||||||
|
|
Loading…
Reference in a new issue