mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-02 12:51:48 -05:00
31 lines
1.1 KiB
Python
31 lines
1.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
import awx.main.fields
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('main', '0008_v320_drop_v1_credential_fields'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='instancegroup',
|
|
name='policy_instance_list',
|
|
field=awx.main.fields.JSONField(default=[], help_text='List of exact-match Instances that will always be automatically assigned to this group', blank=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='instancegroup',
|
|
name='policy_instance_minimum',
|
|
field=models.IntegerField(default=0, help_text='Static minimum number of Instances to automatically assign to this group'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='instancegroup',
|
|
name='policy_instance_percentage',
|
|
field=models.IntegerField(default=0, help_text='Percentage of Instances to automatically assign to this group'),
|
|
),
|
|
]
|