From aad260bb412978d5bfcec588caaeae63aa1325c6 Mon Sep 17 00:00:00 2001 From: Gabe Muniz Date: Thu, 19 Jan 2023 13:01:45 -0500 Subject: [PATCH] edit new migration for deprecation of host_filter --- ...ntory.py => 0182_constructed_inventory.py} | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) rename awx/main/migrations/{0175_constructed_inventory.py => 0182_constructed_inventory.py} (82%) diff --git a/awx/main/migrations/0175_constructed_inventory.py b/awx/main/migrations/0182_constructed_inventory.py similarity index 82% rename from awx/main/migrations/0175_constructed_inventory.py rename to awx/main/migrations/0182_constructed_inventory.py index 4e3309c5df..3c37fc66e4 100644 --- a/awx/main/migrations/0175_constructed_inventory.py +++ b/awx/main/migrations/0182_constructed_inventory.py @@ -6,7 +6,7 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('main', '0174_ensure_org_ee_admin_roles'), + ('main', '0181_hostmetricsummarymonthly'), ] operations = [ @@ -89,4 +89,22 @@ class Migration(migrations.Migration): name='limit', field=models.TextField(blank=True, default='', help_text='Enter host, group or pattern match'), ), + migrations.AlterField( + model_name='inventorysource', + name='host_filter', + field=models.TextField( + blank=True, + default='', + help_text='This field is deprecated and will be removed in a future release. Regex where only matching hosts will be imported.', + ), + ), + migrations.AlterField( + model_name='inventoryupdate', + name='host_filter', + field=models.TextField( + blank=True, + default='', + help_text='This field is deprecated and will be removed in a future release. Regex where only matching hosts will be imported.', + ), + ), ]