mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 08:37:48 -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)
|
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):
|
def unified_jobs_table(since, full_path, until, **kwargs):
|
||||||
unified_job_query = '''COPY (SELECT main_unifiedjob.id,
|
unified_job_query = '''COPY (SELECT main_unifiedjob.id,
|
||||||
main_unifiedjob.polymorphic_ctype_id,
|
main_unifiedjob.polymorphic_ctype_id,
|
||||||
|
|||||||
@@ -13,6 +13,6 @@ class Migration(migrations.Migration):
|
|||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name='unifiedjob',
|
model_name='unifiedjob',
|
||||||
name='ansible_version',
|
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."),
|
help_text=_("The Collections names and versions installed in the execution environment."),
|
||||||
)
|
)
|
||||||
ansible_version = models.CharField(
|
ansible_version = models.CharField(
|
||||||
max_length=50,
|
max_length=255,
|
||||||
blank=True,
|
blank=True,
|
||||||
default='',
|
default='',
|
||||||
editable=False,
|
editable=False,
|
||||||
|
|||||||
Reference in New Issue
Block a user