[db] add migration for vmdiskproduct
This commit is contained in:
parent
2771a7518a
commit
9c1b4ab275
1 changed files with 18 additions and 0 deletions
18
uncloud_vm/migrations/0002_vmdiskproduct_disk_type.py
Normal file
18
uncloud_vm/migrations/0002_vmdiskproduct_disk_type.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.0.6 on 2020-08-01 14:02
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('uncloud_vm', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='vmdiskproduct',
|
||||
name='disk_type',
|
||||
field=models.CharField(choices=[('ceph/ssd', 'Ceph Ssd'), ('ceph/hdd', 'Ceph Hdd'), ('local/ssd', 'Local Ssd'), ('local/hdd', 'Local Hdd')], default='ceph/ssd', max_length=20),
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue