aboutsummaryrefslogtreecommitdiffstats
path: root/src/resource_inventory/migrations/0016_auto_20201109_1947.py
blob: d145f06d94155ccde4e9ef8cc9f4fd2301c72402 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Generated by Django 2.2 on 2020-11-09 19:47

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('resource_inventory', '0015_resourcetemplate_copy_of'),
    ]

    operations = [
        migrations.AddField(
            model_name='physicalnetwork',
            name='bundle',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='resource_inventory.ResourceBundle'),
        ),
        migrations.AddField(
            model_name='resourceconfiguration',
            name='name',
            field=models.CharField(default='<Hostname>', max_length=3000),
        ),
        migrations.AlterField(
            model_name='cpuprofile',
            name='cflags',
            field=models.TextField(blank=True, null=True),
        ),
        migrations.AlterField(
            model_name='interface',
            name='acts_as',
            field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='resource_inventory.InterfaceConfiguration'),
        ),
        migrations.AlterField(
            model_name='interfaceconfiguration',
            name='connections',
            field=models.ManyToManyField(blank=True, to='resource_inventory.NetworkConnection'),
        ),
        migrations.AlterField(
            model_name='resourcetemplate',
            name='copy_of',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='resource_inventory.ResourceTemplate'),
        ),
        migrations.AlterField(
            model_name='resourcetemplate',
            name='name',
            field=models.CharField(max_length=300),
        ),
        migrations.AlterField(
            model_name='server',
            name='bundle',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='resource_inventory.ResourceBundle'),
        ),
        migrations.AlterField(
            model_name='server',
            name='config',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='resource_inventory.ResourceConfiguration'),
        ),
    ]