mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 00:38:45 -03:30
Add migrations for execution node and project upds
This commit is contained in:
19
awx/main/migrations/0041_v310_executionnode.py
Normal file
19
awx/main/migrations/0041_v310_executionnode.py
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('main', '0040_v310_artifacts'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='unifiedjob',
|
||||||
|
name='execution_node',
|
||||||
|
field=models.TextField(default=b'', editable=False, blank=True),
|
||||||
|
),
|
||||||
|
]
|
||||||
24
awx/main/migrations/0042_v310_scm_revision.py
Normal file
24
awx/main/migrations/0042_v310_scm_revision.py
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('main', '0041_v310_executionnode'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='project',
|
||||||
|
name='scm_revision',
|
||||||
|
field=models.CharField(default=b'', editable=False, max_length=1024, blank=True, help_text='The last revision fetched by a project update', verbose_name='SCM Revision'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='projectupdate',
|
||||||
|
name='job_type',
|
||||||
|
field=models.CharField(default=b'check', max_length=64, choices=[(b'run', 'Run'), (b'check', 'Check')]),
|
||||||
|
),
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user