23 lines
656 B
Python
23 lines
656 B
Python
|
|
from django.db import migrations, models
|
||
|
|
import django.db.models.deletion
|
||
|
|
|
||
|
|
|
||
|
|
class Migration(migrations.Migration):
|
||
|
|
dependencies = [("control", "0007_ai_dispatch")]
|
||
|
|
|
||
|
|
operations = [
|
||
|
|
migrations.AddField(
|
||
|
|
model_name="planapplication",
|
||
|
|
name="subscription",
|
||
|
|
field=models.ForeignKey(
|
||
|
|
blank=True,
|
||
|
|
editable=False,
|
||
|
|
null=True,
|
||
|
|
on_delete=django.db.models.deletion.PROTECT,
|
||
|
|
related_name="plan_applications",
|
||
|
|
to="control.subscription",
|
||
|
|
verbose_name="自动开通的订阅",
|
||
|
|
),
|
||
|
|
),
|
||
|
|
]
|