aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/migrations/0008_auto_20190419_1414.py
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-05-08 17:00:01 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-05-08 17:00:01 +0000
commit48cff65180d0584bdd0f60a4226bd36511f36161 (patch)
tree47e303a8898f60c1fc5e4f01ce430cf2a97d9316 /src/api/migrations/0008_auto_20190419_1414.py
parent19350b192914a2bfadac81f9885d6be236d58346 (diff)
parent3d078d2df3fac997c783435ba07e7710d087fd4b (diff)
Merge "Adds pdf and idf into api"
Diffstat (limited to 'src/api/migrations/0008_auto_20190419_1414.py')
-rw-r--r--src/api/migrations/0008_auto_20190419_1414.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/api/migrations/0008_auto_20190419_1414.py b/src/api/migrations/0008_auto_20190419_1414.py
new file mode 100644
index 0000000..03c3865
--- /dev/null
+++ b/src/api/migrations/0008_auto_20190419_1414.py
@@ -0,0 +1,28 @@
+# Generated by Django 2.1 on 2019-04-19 14:14
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('resource_inventory', '0009_auto_20190315_1757'),
+ ('api', '0007_auto_20190417_1511'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='BridgeConfig',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('interfaces', models.ManyToManyField(to='resource_inventory.Interface')),
+ ('opnfv_config', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='resource_inventory.OPNFVConfig')),
+ ],
+ ),
+ migrations.AddField(
+ model_name='opnfvapiconfig',
+ name='bridge_config',
+ field=models.OneToOneField(null=True, on_delete=django.db.models.deletion.CASCADE, to='api.BridgeConfig'),
+ ),
+ ]