aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2021-12-15 14:34:29 -0500
committerSawyer Bergeron <sbergeron@iol.unh.edu>2021-12-15 20:56:43 +0000
commit4d0cbdfaca47e0ed1fb799cf5ae754c7f167a874 (patch)
tree7e9f9445d988a40b83a6613a56cb879420e6b0da /src/api
parent2a1c893e5e698f14a844751a2e522d094a0c88b5 (diff)
Add migration to mark cifiles as generated vs user-provided
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I2a7011f26a53dd1e56ed8c9853fb4a4b31cc863b
Diffstat (limited to 'src/api')
-rw-r--r--src/api/migrations/0022_add_cifile_generated_field.py14
1 files changed, 14 insertions, 0 deletions
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)
+ ),
+ ]