migration-database - SQLModel Database Migration with Alembic
Automate database migration workflows for SQLModel-based projects using Alembic
Tags
Updated: 2026-05-11Capabilities
Typical Inputs
Typical Outputs
What this skill does
- create migration for new models
- generate migration for modified models
- apply migration to database
- read migration file
- add sqlmodel import
- validate migration operations
- present migration file link
- check PostgreSQL status
- type check models
- verify model imports
Inputs
- SQLModel models
- PostgreSQL database
- migration script
- model import file
Outputs
- migration file
- applied database schema
Requirements
- Docker environment
- PostgreSQL container
- SQLModel project structure
- Alembic installed
