forked from uncloud/uncloud
Merge branch 'master' into fnux-hacks
This commit is contained in:
commit
b5a242f176
16 changed files with 106 additions and 90 deletions
25
uncloud/uncloud_vm/migrations/0005_auto_20200227_1230.py
Normal file
25
uncloud/uncloud_vm/migrations/0005_auto_20200227_1230.py
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# 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,
|
||||
),
|
||||
]
|
||||
|
|
@ -17,11 +17,6 @@ class Migration(migrations.Migration):
|
|||
name='order',
|
||||
field=models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, to='uncloud_pay.Order'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='vmproduct',
|
||||
name='status',
|
||||
field=models.CharField(choices=[('pending', 'Pending'), ('being_created', 'Being created'), ('active', 'Active'), ('deleted', 'Deleted')], default='pending', max_length=256),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='vmsnapshotproduct',
|
||||
name='order',
|
||||
|
|
|
|||
14
uncloud/uncloud_vm/migrations/0006_merge_20200228_1303.py
Normal file
14
uncloud/uncloud_vm/migrations/0006_merge_20200228_1303.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Generated by Django 3.0.3 on 2020-02-28 13:03
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('uncloud_vm', '0005_auto_20200227_1532'),
|
||||
('uncloud_vm', '0005_auto_20200227_1230'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue