diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-03-29 16:09:35 +1300 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-05-04 23:57:53 +1200 |
commit | 58c56883fd14692c25aee1e5e2c153fec3a85db0 (patch) | |
tree | 1f0e70a1e1be95641e981a258e3f30e5f82cf915 /rrs/migrations/0009_rmh_layerbranch.py | |
parent | 4b268a08b8eb5261937879e136ccb12fb3cf867e (diff) | |
download | openembedded-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/migrations/0009_rmh_layerbranch.py')
-rw-r--r-- | rrs/migrations/0009_rmh_layerbranch.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/rrs/migrations/0009_rmh_layerbranch.py b/rrs/migrations/0009_rmh_layerbranch.py new file mode 100644 index 0000000000..b2a7b862f2 --- /dev/null +++ b/rrs/migrations/0009_rmh_layerbranch.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('layerindex', '0010_add_dependencies'), + ('rrs', '0008_upgrade_info'), + ] + + operations = [ + migrations.AddField( + model_name='recipemaintainerhistory', + name='layerbranch', + field=models.ForeignKey(blank=True, null=True, to='layerindex.LayerBranch'), + ), + ] |