repair-agent
487b258bbe
feat: 添加默认故事功能及修复故事模块依赖
...
- Story 模型新增 is_default 字段及迁移 0004
- 新增 utils.py:ensure_default_stories 懒初始化默认故事(含视频绘本)
- StoryViewSet/ShelfViewSet list 接口调用 ensure_default_stories
- 新增 upload_default_story_media 管理命令,上传视频/封面到 OSS
- 安装缺失依赖:edge-tts 7.2.7、volcengine-python-sdk[ark] 5.0.12
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 15:16:38 +08:00
repair-agent
c584df814f
fix(stories): fix shelf deletion IntegrityError with transaction.atomic
...
Build and Deploy Backend / build-and-deploy (push) Failing after 3m32s
Wrap shelf deletion in transaction.atomic to handle cases where
stories cannot be unlinked from shelf due to database constraints.
Falls back to deleting stories if update fails.
Fixes: Log Center Bug #13
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 13:00:25 +08:00
repair-agent
7a6d7814e0
fix store bug
Build and Deploy Backend / build-and-deploy (push) Failing after 57s
2026-02-12 14:05:51 +08:00
repair-agent
88b8f023f4
Fix app api
Build and Deploy Backend / build-and-deploy (push) Failing after 1m36s
2026-02-09 15:35:33 +08:00