diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2015-02-25 13:44:51 +0000 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-05-04 23:57:52 +1200 |
commit | 7174fab269850bde196beaee5380594da03abf82 (patch) | |
tree | cc56e4e40201fb675efac560b135f0a929c80b3b /rrs/models.py | |
parent | d4c3693f4945e8f7efbfc77a89a19c29747009fb (diff) | |
download | openembedded-core-contrib-7174fab269850bde196beaee5380594da03abf82.tar.gz |
rrs: Add missing date indexes in RecipeUpstreamHistory
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Diffstat (limited to 'rrs/models.py')
-rw-r--r-- | rrs/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rrs/models.py b/rrs/models.py index 2a5daa35a1..c909daf04f 100644 --- a/rrs/models.py +++ b/rrs/models.py @@ -220,8 +220,8 @@ class RecipeMaintainer(models.Model): self.maintainer.email) class RecipeUpstreamHistory(models.Model): - start_date = models.DateTimeField() - end_date = models.DateTimeField() + start_date = models.DateTimeField(db_index=True) + end_date = models.DateTimeField(db_index=True) @staticmethod def get_last_by_date_range(start, end): |