feat(results): add generated video management
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Production Browser E2E (push) Failing after 2024h53m37s
Deploy / Deploy Production (push) Failing after 2024h53m39s
Deploy / Build Production Runtime Images (push) Failing after 2025h2m41s

This commit is contained in:
Xiaoxia AI
2026-06-24 06:28:06 +08:00
parent e94541d793
commit 91df06b84d
11 changed files with 230 additions and 29 deletions
@@ -195,8 +195,12 @@ class GeneratedVideoModel(Base):
width = Column(Float, nullable=False)
height = Column(Float, nullable=False)
fps = Column(Float, nullable=False)
status = Column(String(20), nullable=False, default="completed", index=True)
review_status = Column(String(20), nullable=False, default="pending_review", index=True)
generation_params = Column(Text, nullable=False, default="{}")
generated_at = Column(DateTime, nullable=False, default=lambda: datetime.now(timezone.utc))
created_at = Column(DateTime, nullable=False, default=lambda: datetime.now(timezone.utc))
updated_at = Column(DateTime, nullable=True)
class TaskModel(Base):