Merge pull request #3225 from ryanpetrello/take-it-to-the-limit-one-more-time

remove field size limit on adhoc `limit`

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot] 2019-02-13 14:50:56 +00:00 committed by GitHub
commit ad4d286db5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.16 on 2019-02-13 13:27
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0058_v350_remove_limit_limit'),
]
operations = [
migrations.AlterField(
model_name='adhoccommand',
name='limit',
field=models.TextField(blank=True, default=''),
),
]

View File

@ -43,8 +43,7 @@ class AdHocCommand(UnifiedJob, JobNotificationMixin):
null=True,
on_delete=models.SET_NULL,
)
limit = models.CharField(
max_length=1024,
limit = models.TextField(
blank=True,
default='',
)