2020-07-03 21:34:44 +00:00
|
|
|
# Generated by Django 3.0.7 on 2020-07-03 20:59
|
|
|
|
|
|
|
|
import django.db.models.deletion
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
("passbook_policies", "0002_auto_20200528_1647"),
|
|
|
|
("passbook_flows", "0006_auto_20200629_0857"),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterModelOptions(
|
|
|
|
name="flowstagebinding",
|
|
|
|
options={
|
|
|
|
"ordering": ["order", "target"],
|
|
|
|
"verbose_name": "Flow Stage Binding",
|
|
|
|
"verbose_name_plural": "Flow Stage Bindings",
|
|
|
|
},
|
|
|
|
),
|
|
|
|
migrations.RenameField(
|
2020-09-30 17:34:22 +00:00
|
|
|
model_name="flowstagebinding",
|
|
|
|
old_name="flow",
|
|
|
|
new_name="target",
|
2020-07-03 21:34:44 +00:00
|
|
|
),
|
|
|
|
migrations.RenameField(
|
2020-09-30 17:34:22 +00:00
|
|
|
model_name="flow",
|
|
|
|
old_name="pbm",
|
|
|
|
new_name="policybindingmodel_ptr",
|
2020-07-03 21:34:44 +00:00
|
|
|
),
|
|
|
|
migrations.AlterUniqueTogether(
|
2020-09-30 17:34:22 +00:00
|
|
|
name="flowstagebinding",
|
|
|
|
unique_together={("target", "stage", "order")},
|
2020-07-03 21:34:44 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name="flow",
|
|
|
|
name="policybindingmodel_ptr",
|
|
|
|
field=models.OneToOneField(
|
|
|
|
auto_created=True,
|
|
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
|
|
parent_link=True,
|
|
|
|
to="passbook_policies.PolicyBindingModel",
|
|
|
|
),
|
|
|
|
),
|
|
|
|
]
|