Files
xiaoxia-saas/alembic
lingying 0eb410c1a2
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 10h51m44s
CI/CD Pipeline / Frontend Lint (push) Failing after 10h51m44s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 10h50m34s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 10h48m26s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 10h48m26s
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
fix(db): 添加034_cms_enhance占位迁移,对齐生产数据库版本
生产数据库alembic_version为034_cms_enhance,但代码中没有对应迁移文件,
导致部署时alembic upgrade head失败。添加占位迁移让alembic
能识别当前版本。实际表结构变更已在生产手动应用。
2026-07-09 02:02:45 +08:00
..

Alembic Migrations

This directory contains database migration scripts managed by Alembic.

Usage

# Apply all pending migrations
alembic upgrade head

# Rollback one migration
alembic downgrade -1

# Show current revision
alembic current

# Show migration history
alembic history

Current Migrations

  • 001_initial_schema.py - Initial database schema (projects, asset_libraries, assets, ingest_jobs)