From eaa483e018197ce019582e0b25b18ef38fffc391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Fri, 28 Feb 2020 15:08:45 +0100 Subject: [PATCH] Commit forgottem uncloud_vm migrations --- .../migrations/0007_auto_20200228_1344.py | 23 +++++++++++++++++++ .../migrations/0008_vmproduct_name.py | 18 +++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 uncloud/uncloud_vm/migrations/0007_auto_20200228_1344.py create mode 100644 uncloud/uncloud_vm/migrations/0008_vmproduct_name.py diff --git a/uncloud/uncloud_vm/migrations/0007_auto_20200228_1344.py b/uncloud/uncloud_vm/migrations/0007_auto_20200228_1344.py new file mode 100644 index 0000000..8867f2f --- /dev/null +++ b/uncloud/uncloud_vm/migrations/0007_auto_20200228_1344.py @@ -0,0 +1,23 @@ +# Generated by Django 3.0.3 on 2020-02-28 13:44 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('uncloud_vm', '0006_merge_20200228_1303'), + ] + + operations = [ + migrations.AddField( + model_name='vmnetworkcard', + name='ip_address', + field=models.GenericIPAddressField(blank=True, null=True), + ), + 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), + ), + ] diff --git a/uncloud/uncloud_vm/migrations/0008_vmproduct_name.py b/uncloud/uncloud_vm/migrations/0008_vmproduct_name.py new file mode 100644 index 0000000..75ff7d0 --- /dev/null +++ b/uncloud/uncloud_vm/migrations/0008_vmproduct_name.py @@ -0,0 +1,18 @@ +# Generated by Django 3.0.3 on 2020-02-28 14:05 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('uncloud_vm', '0007_auto_20200228_1344'), + ] + + operations = [ + migrations.AddField( + model_name='vmproduct', + name='name', + field=models.CharField(blank=True, max_length=32), + ), + ]