Reverting indexing of objattribute.db_value; it is a highly db-incompatible change, and also lacking the possibility to create unique indices with unclear results.

This commit is contained in:
Griatch 2012-09-28 09:08:43 +02:00
parent b0ac916b9a
commit 9a3562148a
4 changed files with 119 additions and 11 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_index=True)
db_value = models.TextField('value', blank=True, null=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