Files
xiaoxia-saas/alembic/versions/046_task_title.py
xiaoxia 2f64fea7f0
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 5m12s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1416h53m27s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1416h53m29s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1416h53m27s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1416h53m29s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1416h57m4s
CI Build & Deploy Pipeline / Build Staging API Image (push) Has been skipped
CI Build & Deploy Pipeline / Build Staging Web Image (push) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Has been skipped
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been skipped
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Has been skipped
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1417h25m35s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been skipped
CI/CD Pipeline / Unit Tests (push) Has been skipped
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / Frontend Unit Tests (push) Has been skipped
fix(P0): 视频标题全链路打通 (#585)
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com>
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
2026-07-19 14:32:25 +08:00

34 lines
685 B
Python

"""add video_title to generation_tasks
Revision ID: 046_add_video_title_to_generation_tasks
Revises: 045_backfill_user_id_generated_videos
Create Date: 2026-07-19 11:20:00.000000
"""
import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic.
revision = "046_task_title"
down_revision = "045_backfill_user_id"
branch_labels = None
depends_on = None
def upgrade() -> None:
op.add_column(
"generation_tasks",
sa.Column(
"video_title",
sa.String(255),
nullable=False,
server_default="",
),
)
def downgrade() -> None:
op.drop_column("generation_tasks", "video_title")