forked from 0x2620/pandora
add index to log
This commit is contained in:
parent
52f95b3ca4
commit
66d3693b90
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ import ox
|
|||
import managers
|
||||
|
||||
class Log(models.Model):
|
||||
created = models.DateTimeField(auto_now_add=True)
|
||||
created = models.DateTimeField(auto_now_add=True, db_index=True)
|
||||
modified = models.DateTimeField(auto_now=True)
|
||||
user = models.ForeignKey(User, default=None, blank=True, null=True)
|
||||
url = models.CharField(max_length=1000, default='')
|
||||
|
|
Loading…
Reference in a new issue