skill-database-migration
CommunitySafe, zero-downtime database migrations.
Authorryan-nguyen-01
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Best practices and practical patterns for applying database migrations across multiple tools (Prisma Migrate, TypeORM, Alembic, Flyway) with a focus on idempotence, rollback, small steps, and safe deployment workflows.
Core Features & Use Cases
- Migration principles: ensure idempotent migrations, provide down migrations, avoid altering run migrations on shared environments, keep migrations small and focused, test on staging before production, back up databases, and order migration files properly.
- Tool coverage: guidance for Prisma Migrate, TypeORM, Alembic, Flyway, and zero-downtime strategies like expand-contract and safe operations.
- Use Case: a typical workflow where schema changes are introduced, migrations are generated, backfilled data done in separate scripts, and production rollout uses a expand-deploy-cleanup pattern.
Quick Start
Execute a Prisma migration to apply the schema changes in your development environment.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: skill-database-migration Download link: https://github.com/ryan-nguyen-01/agent-platform/archive/main.zip#skill-database-migration Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.