baseline: Clover 独立仓库首次基线提交
将 Clover 从上层产品包旧仓库中独立出来,建立专属版本控制。 当前状态=纵切片端到端已打通(登录→选品→出文出图→审核→下载包), M1文案质量去套路化已验收。此提交作为后续按核销清单逐条修复的基线。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
29
backend/alembic/versions/012_product_target_audience.py
Normal file
29
backend/alembic/versions/012_product_target_audience.py
Normal file
@@ -0,0 +1,29 @@
|
||||
"""012 products 表加 target_audience 字段
|
||||
|
||||
Revision ID: 012_product_target_audience
|
||||
Revises: 011_task_benchmark_fission_fields
|
||||
Create Date: 2026-06-15
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
revision = "012"
|
||||
down_revision = "011"
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.add_column(
|
||||
"products",
|
||||
sa.Column(
|
||||
"target_audience",
|
||||
sa.String(128),
|
||||
nullable=True,
|
||||
comment="目标人群,客户输入,透传进文案/生图prompt",
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.drop_column("products", "target_audience")
|
||||
Reference in New Issue
Block a user