Obs-run migrations! Added an index to the ObjAttribute's values.

This commit is contained in:
Griatch 2012-09-28 00:14:29 +02:00
parent c819cdc2a6
commit b0ac916b9a
2 changed files with 110 additions and 1 deletions

View file

@ -268,7 +268,7 @@ class Attribute(SharedMemoryModel):
db_key = models.CharField('key', max_length=255, db_index=True)
# access through the value property
db_value = models.TextField('value', blank=True, null=True)
db_value = models.TextField('value', blank=True, null=True, db_index=True)
# Lock storage
db_lock_storage = models.CharField('locks', max_length=512, blank=True)
# references the object the attribute is linked to (this is set