2020-02-23 17:11:14 +00:00
|
|
|
# Generated by Django 3.0.3 on 2020-02-23 17:09
|
2020-02-21 10:42:54 +00:00
|
|
|
|
|
|
|
from django.conf import settings
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
import uuid
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
initial = True
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2020-02-23 10:41:51 +00:00
|
|
|
name='VMSnapshotProduct',
|
2020-02-21 10:42:54 +00:00
|
|
|
fields=[
|
|
|
|
('uuid', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
2020-02-23 17:11:14 +00:00
|
|
|
('status', models.CharField(choices=[('pending', 'Pending'), ('being_created', 'Being created'), ('active', 'Active'), ('deleted', 'Deleted')], default='pending', max_length=256)),
|
2020-02-23 10:41:51 +00:00
|
|
|
('gb_ssd', models.FloatField()),
|
|
|
|
('gb_hdd', models.FloatField()),
|
2020-02-21 10:42:54 +00:00
|
|
|
('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
|
|
|
],
|
2020-02-23 10:41:51 +00:00
|
|
|
options={
|
|
|
|
'abstract': False,
|
|
|
|
},
|
2020-02-21 10:42:54 +00:00
|
|
|
),
|
|
|
|
]
|