43 lines
1.3 KiB
Python
43 lines
1.3 KiB
Python
|
# 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(
|
||
|
model_name="flowstagebinding", old_name="flow", new_name="target",
|
||
|
),
|
||
|
migrations.RenameField(
|
||
|
model_name="flow", old_name="pbm", new_name="policybindingmodel_ptr",
|
||
|
),
|
||
|
migrations.AlterUniqueTogether(
|
||
|
name="flowstagebinding", unique_together={("target", "stage", "order")},
|
||
|
),
|
||
|
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",
|
||
|
),
|
||
|
),
|
||
|
]
|