From db4c2dc4c4f0d86e0a00e8409eed74a0bcffb20b Mon Sep 17 00:00:00 2001 From: Sawyer Bergeron Date: Mon, 8 Feb 2021 11:42:41 -0500 Subject: Add migration to set rconfig hostname to a valid linux hostname Signed-off-by: Sawyer Bergeron Change-Id: Ib737dc25de37dd9d1c29a4e15f95da0fb68ddfc8 Signed-off-by: Sawyer Bergeron --- .../migrations/0018_manual_change_rconfig_default_name.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/resource_inventory/migrations/0018_manual_change_rconfig_default_name.py (limited to 'src/resource_inventory') diff --git a/src/resource_inventory/migrations/0018_manual_change_rconfig_default_name.py b/src/resource_inventory/migrations/0018_manual_change_rconfig_default_name.py new file mode 100644 index 0000000..b3459bf --- /dev/null +++ b/src/resource_inventory/migrations/0018_manual_change_rconfig_default_name.py @@ -0,0 +1,14 @@ +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ('resource_inventory', '0016_auto_20201109_1947'), + ] + operations = [ + migrations.AlterField( + model_name='resourceconfiguration', + name='name', + field=models.CharField(default='opnfv-host') + ), + ] -- cgit 1.2.3-korg