|
|
|
@ -59,7 +59,7 @@ class Migration(migrations.Migration):
|
|
|
|
|
migrations.AlterField(
|
|
|
|
|
model_name='ticket',
|
|
|
|
|
name='state',
|
|
|
|
|
field=models.CharField(choices=[('pending', 'Pending'), ('approved', 'Approved'), ('rejected', 'Rejected'),
|
|
|
|
|
field=models.CharField(choices=[('pending', 'Open'), ('approved', 'Approved'), ('rejected', 'Rejected'),
|
|
|
|
|
('closed', 'Cancel'), ('reopen', 'Reopen')], default='pending',
|
|
|
|
|
max_length=16, verbose_name='State'),
|
|
|
|
|
),
|
|
|
|
@ -72,14 +72,14 @@ class Migration(migrations.Migration):
|
|
|
|
|
migrations.AlterField(
|
|
|
|
|
model_name='ticketassignee',
|
|
|
|
|
name='state',
|
|
|
|
|
field=models.CharField(choices=[('pending', 'Pending'), ('approved', 'Approved'), ('rejected', 'Rejected'),
|
|
|
|
|
field=models.CharField(choices=[('pending', 'Open'), ('approved', 'Approved'), ('rejected', 'Rejected'),
|
|
|
|
|
('closed', 'Cancel'), ('reopen', 'Reopen')], default='pending',
|
|
|
|
|
max_length=64),
|
|
|
|
|
),
|
|
|
|
|
migrations.AlterField(
|
|
|
|
|
model_name='ticketstep',
|
|
|
|
|
name='state',
|
|
|
|
|
field=models.CharField(choices=[('pending', 'Pending'), ('approved', 'Approved'), ('rejected', 'Rejected'),
|
|
|
|
|
field=models.CharField(choices=[('pending', 'Open'), ('approved', 'Approved'), ('rejected', 'Rejected'),
|
|
|
|
|
('closed', 'Closed')], default='pending', max_length=64,
|
|
|
|
|
verbose_name='State'),
|
|
|
|
|
),
|
|
|
|
@ -111,6 +111,7 @@ class Migration(migrations.Migration):
|
|
|
|
|
models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True,
|
|
|
|
|
primary_key=True, serialize=False, to='tickets.ticket')),
|
|
|
|
|
('apply_run_command', models.CharField(max_length=4096, verbose_name='Run command')),
|
|
|
|
|
('apply_run_asset', models.CharField(max_length=128, verbose_name='Run asset')),
|
|
|
|
|
('apply_from_cmd_filter',
|
|
|
|
|
models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='assets.commandfilter',
|
|
|
|
|
verbose_name='From cmd filter')),
|
|
|
|
@ -120,9 +121,6 @@ class Migration(migrations.Migration):
|
|
|
|
|
('apply_from_session',
|
|
|
|
|
models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='terminal.session',
|
|
|
|
|
verbose_name='Session')),
|
|
|
|
|
('apply_run_asset',
|
|
|
|
|
models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='assets.asset',
|
|
|
|
|
verbose_name='Run asset')),
|
|
|
|
|
('apply_run_system_user',
|
|
|
|
|
models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='assets.systemuser',
|
|
|
|
|
verbose_name='Run system user')),
|
|
|
|
|