From 4d0cbdfaca47e0ed1fb799cf5ae754c7f167a874 Mon Sep 17 00:00:00 2001 From: Sawyer Bergeron Date: Wed, 15 Dec 2021 14:34:29 -0500 Subject: [PATCH] Add migration to mark cifiles as generated vs user-provided Signed-off-by: Sawyer Bergeron Change-Id: I2a7011f26a53dd1e56ed8c9853fb4a4b31cc863b --- src/api/migrations/0022_add_cifile_generated_field.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/api/migrations/0022_add_cifile_generated_field.py diff --git a/src/api/migrations/0022_add_cifile_generated_field.py b/src/api/migrations/0022_add_cifile_generated_field.py new file mode 100644 index 0000000..28d5172 --- /dev/null +++ b/src/api/migrations/0022_add_cifile_generated_field.py @@ -0,0 +1,14 @@ +from django.db import migrations, models + +class Migration(migrations.Migration): + dependencies = [ + ('api', '0018_cloudinitfile'), + ] + + operations = [ + migrations.AddField( + model_name="CloudInitFile", + name="generated", + field=models.BooleanField(default=False) + ), + ] -- 2.16.6