mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 08:17:39 -02:30
rename field to store_facts and fix up tests
This commit is contained in:
@@ -50,13 +50,13 @@ class Migration(migrations.Migration):
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='job',
|
||||
name='gather_facts',
|
||||
field=models.BooleanField(default=False),
|
||||
name='store_facts',
|
||||
field=models.BooleanField(default=False, help_text='During a Job run, collect, associate, and persist the most recent per-Host Ansible facts in the ansible_facts namespace.'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='jobtemplate',
|
||||
name='gather_facts',
|
||||
field=models.BooleanField(default=False),
|
||||
name='store_facts',
|
||||
field=models.BooleanField(default=False, help_text='During a Job run, collect, associate, and persist the most recent per-Host Ansible facts in the ansible_facts namespace.'),
|
||||
),
|
||||
migrations.RunSQL([("CREATE INDEX host_ansible_facts_default_gin ON %s USING gin"
|
||||
"(ansible_facts jsonb_path_ops);", [AsIs(Host._meta.db_table)])],
|
||||
|
||||
Reference in New Issue
Block a user