b66de19be8
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 11s
CI/CD Pipeline / Frontend Lint (push) Successful in 1m54s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
27 lines
514 B
Python
27 lines
514 B
Python
"""Add logs field to generation_tasks
|
|
|
|
Revision ID: 037_generation_logs
|
|
Revises: 036_expand_uuid_36
|
|
Create Date: 2026-07-10
|
|
"""
|
|
|
|
import sqlalchemy as sa
|
|
|
|
from alembic import op
|
|
|
|
revision = "037_generation_logs"
|
|
down_revision = "036_expand_uuid_36"
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
op.add_column(
|
|
"generation_tasks",
|
|
sa.Column("logs", sa.Text(), nullable=False, server_default="[]"),
|
|
)
|
|
|
|
|
|
def downgrade() -> None:
|
|
op.drop_column("generation_tasks", "logs")
|