mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Set max string length to a wayyyy bigger number just in case
This commit is contained in:
@@ -311,7 +311,7 @@ def events_table(since, full_path, until, **kwargs):
|
||||
return _copy_table(table='events', query=events_query, path=full_path)
|
||||
|
||||
|
||||
@register('unified_jobs_table', '1.3', format='csv', description=_('Data on jobs run'), expensive=True)
|
||||
@register('unified_jobs_table', '1.2', format='csv', description=_('Data on jobs run'), expensive=True)
|
||||
def unified_jobs_table(since, full_path, until, **kwargs):
|
||||
unified_job_query = '''COPY (SELECT main_unifiedjob.id,
|
||||
main_unifiedjob.polymorphic_ctype_id,
|
||||
|
||||
@@ -13,6 +13,6 @@ class Migration(migrations.Migration):
|
||||
migrations.AddField(
|
||||
model_name='unifiedjob',
|
||||
name='ansible_version',
|
||||
field=models.CharField(blank=True, default='', editable=False, help_text='The version of Ansible Core installed in the execution environment.', max_length=50),
|
||||
field=models.CharField(blank=True, default='', editable=False, help_text='The version of Ansible Core installed in the execution environment.', max_length=255),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -729,7 +729,7 @@ class UnifiedJob(PolymorphicModel, PasswordFieldsModel, CommonModelNameNotUnique
|
||||
help_text=_("The Collections names and versions installed in the execution environment."),
|
||||
)
|
||||
ansible_version = models.CharField(
|
||||
max_length=50,
|
||||
max_length=255,
|
||||
blank=True,
|
||||
default='',
|
||||
editable=False,
|
||||
|
||||
Reference in New Issue
Block a user