diff --git a/alembic/versions/086_add_viral_video_tables.py b/alembic/versions/086_add_viral_video_tables.py index 99e09d374..8f22364e7 100755 --- a/alembic/versions/086_add_viral_video_tables.py +++ b/alembic/versions/086_add_viral_video_tables.py @@ -84,16 +84,14 @@ def upgrade() -> None: ) # Seed 默认风格模板 - op.execute( - """ + op.execute(""" INSERT INTO viral_video_style_templates (id, name, description, style_config, is_system, sort_order) VALUES ('style-tpl-001', '快节奏冲击', '高频切镜+动感BGM,适合食品饮料等快消品', '{"cut_speed": "fast", "transition": "jump_cut", "energy": "high"}', true, 1), ('style-tpl-002', '质感慢镜', '慢节奏+电影感调色,适合美妆护肤珠宝', '{"cut_speed": "slow", "transition": "dissolve", "energy": "low", "color_grade": "cinematic"}', true, 2), ('style-tpl-003', '口播种草', '数字人口播+产品特写穿插', '{"cut_speed": "medium", "transition": "cross_dissolve", "has_talking_head": true}', true, 3), ('style-tpl-004', '场景叙事', '多场景切换+故事线叙述', '{"cut_speed": "medium", "transition": "wipe", "narrative": true}', true, 4) - """ - ) + """) def downgrade() -> None: