uncloud-mravi/uncloud/uncloud_vm/migrations/0005_auto_20200227_1230.py

26 lines
698 B
Python
Raw Normal View History

# Generated by Django 3.0.3 on 2020-02-27 12:30
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('uncloud_pay', '0002_auto_20200227_1230'),
('uncloud_vm', '0004_vmsnapshotproduct'),
]
operations = [
migrations.RemoveField(
model_name='vmsnapshotproduct',
name='vm_uuid',
),
migrations.AddField(
model_name='vmsnapshotproduct',
name='vm',
field=models.ForeignKey(default=0, on_delete=django.db.models.deletion.CASCADE, to='uncloud_vm.VMProduct'),
preserve_default=False,
),
]