feat(regulatory): 增加适用条件确认暂停恢复
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
# Generated by Django 5.2.14 on 2026-06-07 01:15
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("review_agent", "0003_regulatoryartifact_regulatoryissue_and_more"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="regulatoryreviewbatch",
|
||||
name="condition_json",
|
||||
field=models.JSONField(blank=True, default=dict),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="regulatoryreviewbatch",
|
||||
name="status",
|
||||
field=models.CharField(
|
||||
choices=[
|
||||
("pending", "待执行"),
|
||||
("running", "执行中"),
|
||||
("waiting_user", "等待用户确认"),
|
||||
("success", "成功"),
|
||||
("failed", "失败"),
|
||||
],
|
||||
default="pending",
|
||||
max_length=20,
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="workflownoderun",
|
||||
name="status",
|
||||
field=models.CharField(
|
||||
choices=[
|
||||
("pending", "等待中"),
|
||||
("running", "执行中"),
|
||||
("waiting_user", "等待用户确认"),
|
||||
("retrying", "重试中"),
|
||||
("success", "成功"),
|
||||
("failed", "失败"),
|
||||
("skipped", "跳过"),
|
||||
],
|
||||
default="pending",
|
||||
max_length=20,
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user