1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 07:55:36 +00:00

add index to UserStarredFile

This commit is contained in:
lins05
2013-03-30 20:38:14 +08:00
parent 5e45bb2724
commit ccd2605af1
2 changed files with 5 additions and 2 deletions

View File

@@ -157,7 +157,7 @@ class UserStarredFiles(models.Model):
email = models.EmailField()
org_id = models.IntegerField()
repo_id = models.CharField(max_length=36)
repo_id = models.CharField(max_length=36, db_index=True)
path = models.TextField()
is_dir = models.BooleanField()