Make VM order-able again
This commit is contained in:
parent
df059fb00d
commit
d794b24c86
5 changed files with 70 additions and 34 deletions
19
uncloud_vm/migrations/0014_vmwithosproduct_primary_disk.py
Normal file
19
uncloud_vm/migrations/0014_vmwithosproduct_primary_disk.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Generated by Django 3.0.6 on 2020-05-08 14:01
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('uncloud_vm', '0013_remove_vmproduct_primary_disk'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='vmwithosproduct',
|
||||
name='primary_disk',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='uncloud_vm.VMDiskProduct'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue