fix(viral-video): 补 current_stage 列迁移,修复 staging 500 (#2137) #2138
Reference in New Issue
Block a user
Delete Branch "fix/2137-viral-video-current-stage-col"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
#2136 合入后 staging 所有鉴权 viral-video 端点返回 500,根因:090 迁移误以为 current_stage 已存在于 viral_video_jobs 表,实际未加,SQLAlchemy 查询时 UndefinedColumn。
改动
验证
影响
合入后 watchtower 自动部署,staging entrypoint-api.sh 跑 alembic upgrade head 即补列,鉴权端点恢复。
🚀 预览环境已部署
LGTM
🗑️ 预览环境已清理
PR #2138 已关闭或合并,对应的预览环境已被清理。