# Generated by Django 3.0.6 on 2020-05-28 16:47
import django.db.models.deletion
from django.db import migrations, models
import passbook.lib.models
class Migration(migrations.Migration):
dependencies = [
("passbook_policies", "0001_initial"),
]
operations = [
migrations.AlterModelOptions(
name="policy",
options={
"base_manager_name": "objects",
"verbose_name": "Policy",
"verbose_name_plural": "Policies",
},
),
migrations.RemoveField(
model_name="policy",
name="negate",
name="order",
name="timeout",
migrations.AddField(
model_name="policybinding",
field=models.BooleanField(
default=False,
help_text="Negates the outcome of the policy. Messages are unaffected.",
field=models.IntegerField(
default=30,
help_text="Timeout after which Policy execution is terminated.",
migrations.AlterField(
field=models.IntegerField(),
field=passbook.lib.models.InheritanceForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="+",
to="passbook_policies.Policy",
migrations.AlterUniqueTogether(
name="policybinding",
unique_together={("policy", "target", "order")},