Add scm revision to the job model

This also cleans up flake8 issues
This commit is contained in:
Matthew Jones
2016-10-20 15:18:05 -04:00
parent ca32c5fd21
commit 6e22460f1e
6 changed files with 33 additions and 20 deletions

View File

@@ -21,4 +21,10 @@ class Migration(migrations.Migration):
name='job_type',
field=models.CharField(default=b'check', max_length=64, choices=[(b'run', 'Run'), (b'check', 'Check')]),
),
migrations.AddField(
model_name='job',
name='scm_revision',
field=models.CharField(default=b'', editable=False, max_length=1024, blank=True, help_text='The SCM Revision from the Project used for this job, if available', verbose_name='SCM Revision'),
),
]