forked from uncloud/uncloud
39 lines
1.1 KiB
Python
39 lines
1.1 KiB
Python
|
# Generated by Django 3.0.3 on 2020-02-25 19:52
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('uncloud_vm', '0001_initial'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AlterField(
|
||
|
model_name='vmhost',
|
||
|
name='hostname',
|
||
|
field=models.CharField(max_length=253, unique=True),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='vmhost',
|
||
|
name='physical_cores',
|
||
|
field=models.IntegerField(default=0),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='vmhost',
|
||
|
name='status',
|
||
|
field=models.CharField(choices=[('pending', 'Pending'), ('active', 'Active'), ('unusable', 'Unusable'), ('deleted', 'Deleted')], default='pending', max_length=32),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='vmhost',
|
||
|
name='usable_cores',
|
||
|
field=models.IntegerField(default=0),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='vmhost',
|
||
|
name='usable_ram_in_gb',
|
||
|
field=models.FloatField(default=0),
|
||
|
),
|
||
|
]
|