forked from uncloud/uncloud
31 lines
1.1 KiB
Python
31 lines
1.1 KiB
Python
|
# Generated by Django 3.0.3 on 2020-02-27 15:32
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('uncloud_pay', '0004_auto_20200227_1532'),
|
||
|
('uncloud_vm', '0004_vmsnapshotproduct'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AddField(
|
||
|
model_name='vmproduct',
|
||
|
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',
|
||
|
field=models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, to='uncloud_pay.Order'),
|
||
|
),
|
||
|
]
|