aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/migrations/0008_auto_20190419_1414.py
blob: 03c3865789002b54d8cbb58000efa0a4de495670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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'),
        ),
    ]