50 lines
1.8 KiB
Python
50 lines
1.8 KiB
Python
# Generated by Django 3.0.3 on 2020-03-21 10:58
|
|
|
|
import django.contrib.postgres.fields.jsonb
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('uncloud_vm', '0005_auto_20200309_1258'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='vmdiskimageproduct',
|
|
name='extra_data',
|
|
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, editable=False, null=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='vmdiskproduct',
|
|
name='extra_data',
|
|
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, editable=False, null=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='vmhost',
|
|
name='extra_data',
|
|
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, editable=False, null=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='vmproduct',
|
|
name='extra_data',
|
|
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, editable=False, null=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='vmsnapshotproduct',
|
|
name='extra_data',
|
|
field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, editable=False, null=True),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='vmdiskproduct',
|
|
name='vm',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='disks', to='uncloud_vm.VMProduct'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='vmsnapshotproduct',
|
|
name='vm',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='snapshots', to='uncloud_vm.VMProduct'),
|
|
),
|
|
]
|