diff options
Diffstat (limited to 'src/resource_inventory')
-rw-r--r-- | src/resource_inventory/migrations/0023_cloudinitfile_generated.py | 18 | ||||
-rw-r--r-- | src/resource_inventory/models.py | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/resource_inventory/migrations/0023_cloudinitfile_generated.py b/src/resource_inventory/migrations/0023_cloudinitfile_generated.py new file mode 100644 index 0000000..b309753 --- /dev/null +++ b/src/resource_inventory/migrations/0023_cloudinitfile_generated.py @@ -0,0 +1,18 @@ +# Generated by Django 2.2 on 2021-12-17 18:54 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('resource_inventory', '0022_auto_20210925_2028'), + ] + + operations = [ + migrations.AddField( + model_name='cloudinitfile', + name='generated', + field=models.BooleanField(default=False), + ), + ] diff --git a/src/resource_inventory/models.py b/src/resource_inventory/models.py index aefd5ce..5d87430 100644 --- a/src/resource_inventory/models.py +++ b/src/resource_inventory/models.py @@ -157,6 +157,7 @@ class CloudInitFile(models.Model): # higher priority is applied later, so "on top" of existing files priority = models.IntegerField() + generated = models.BooleanField(default=False) @classmethod def merge_strategy(cls): |