From 9c1b4ab275a117f77b1f855a673a3380013bc427 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 1 Aug 2020 16:29:11 +0200 Subject: [PATCH] [db] add migration for vmdiskproduct --- .../migrations/0002_vmdiskproduct_disk_type.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 uncloud_vm/migrations/0002_vmdiskproduct_disk_type.py diff --git a/uncloud_vm/migrations/0002_vmdiskproduct_disk_type.py b/uncloud_vm/migrations/0002_vmdiskproduct_disk_type.py new file mode 100644 index 0000000..8dba16d --- /dev/null +++ b/uncloud_vm/migrations/0002_vmdiskproduct_disk_type.py @@ -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), + ), + ]