aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/migrations/0017_cloudinitfile.py
blob: f14aea1f321e9d48a40854f4e4a009e9eba7e7e7 (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
# Generated by Django 2.2 on 2021-06-11 20:42

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


class Migration(migrations.Migration):

    dependencies = [
        ('resource_inventory', '0017_auto_20201218_1516'),
        ('booking', '0008_auto_20201109_1947'),
        ('api', '0016_auto_20201109_2149'),
    ]

    operations = [
        migrations.CreateModel(
            name='CloudInitFile',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('resource_id', models.CharField(max_length=200)),
                ('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')),
            ],
        ),
    ]