aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/migrations/0019_auto_20210907_1448.py
blob: 92140fb398f00c95b628f0c0c31de4507a47e282 (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
# Generated by Django 2.2 on 2021-09-07 14:48

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


class Migration(migrations.Migration):

    dependencies = [
        ('booking', '0008_auto_20201109_1947'),
        ('resource_inventory', '0020_cloudinitfile'),
        ('api', '0018_cloudinitfile'),
    ]

    operations = [
        migrations.CreateModel(
            name='GeneratedCloudConfig',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('resource_id', models.CharField(max_length=200)),
                ('text', models.TextField(blank=True, null=True)),
                ('booking', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='booking.Booking')),
                ('rconfig', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='resource_inventory.ResourceConfiguration')),
            ],
        ),
        migrations.DeleteModel(
            name='CloudInitFile',
        ),
    ]