aboutsummaryrefslogtreecommitdiffstats
path: root/rrs/models.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2018-03-29 16:09:35 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-05-04 23:57:53 +1200
commit58c56883fd14692c25aee1e5e2c153fec3a85db0 (patch)
tree1f0e70a1e1be95641e981a258e3f30e5f82cf915 /rrs/models.py
parent4b268a08b8eb5261937879e136ccb12fb3cf867e (diff)
downloadopenembedded-core-contrib-58c56883fd14692c25aee1e5e2c153fec3a85db0.tar.gz
rrs_maintainer_history: add --fullreload option
Add an option that deletes all maintainer history records for the current layer branch so that they can then be reloaded from scratch. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'rrs/models.py')
-rw-r--r--rrs/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rrs/models.py b/rrs/models.py
index 2833a23078..536f3b1329 100644
--- a/rrs/models.py
+++ b/rrs/models.py
@@ -210,6 +210,7 @@ class RecipeMaintainerHistory(models.Model):
date = models.DateTimeField(db_index=True)
author = models.ForeignKey(Maintainer)
sha1 = models.CharField(max_length=64, unique=True)
+ layerbranch = models.ForeignKey(LayerBranch, blank=True, null=True)
@staticmethod
def get_last():