feat(phase3): 清理EditPlan表冗余字段result_count

- 删除EditPlan领域模型/仓储/DB模型中的result_count字段
- 清理worker中对plan.result_count的写入
- 创建048 migration删除edit_plans.result_count列
- 该字段为剪辑计划独立功能遗留,生成结果数由generation_tasks承载
- net: -6行 + 1 migration
This commit is contained in:
CI Bot
2026-07-20 21:36:15 +08:00
parent dadbab5b3c
commit d5d8f4bfdb
5 changed files with 37 additions and 9 deletions
@@ -172,7 +172,6 @@ class EditPlanModel(Base):
name = Column(String(200), nullable=False)
status = Column(String(20), nullable=False, default="draft", index=True)
total_duration = Column(Float, nullable=False, default=0.0)
result_count = Column(Integer, nullable=False, default=0)
config = Column(JSON, nullable=False, default=dict)
source_edit_plan_id = Column(String(36), nullable=True, index=True)
project_id = Column(String(36), nullable=False, default="", index=True)