aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/migrations/0014_manual_20200220.py
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2020-02-27 16:26:47 -0500
committerParker Berberian <pberberian@iol.unh.edu>2020-02-27 16:26:47 -0500
commit4940cda1806aa13591485b996264ddc887202d35 (patch)
tree5e36f2fff3dc99fa26cbe11a8f8ca205e59947cc /src/api/migrations/0014_manual_20200220.py
parentd73588dfe1066f85bb83df0e3c0881ff42c25e04 (diff)
Improve Data Migration
Improved migration files so that they preserve data Change-Id: I53283fd3fd207ed3f9773beea7b1ce2062b5bd9f Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/api/migrations/0014_manual_20200220.py')
-rw-r--r--src/api/migrations/0014_manual_20200220.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/api/migrations/0014_manual_20200220.py b/src/api/migrations/0014_manual_20200220.py
new file mode 100644
index 0000000..2e2cd58
--- /dev/null
+++ b/src/api/migrations/0014_manual_20200220.py
@@ -0,0 +1,18 @@
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('api', '0013_manual_20200218_1536'),
+ ('resource_inventory', '0013_auto_20200218_1536')
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='opnfvapiconfig',
+ name='roles',
+ field=models.ManyToManyField(to='resource_inventory.ResourceOPNFVConfig'),
+ ),
+ ]