Database Migrations
Database migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments across PostgreSQL, MySQL, and common ORMs (Prisma, Drizzle, Kysely, Django, TypeORM, golang-migrate).
- Type
- Skill
- Author
- affaan-m
- Category
- Database
- GitHub stars
- 290.0K
- Installs
- 5.3K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/affaan-m/ecc --skill database-migrationsUse cases
- Plan a zero-downtime schema change for a production PostgreSQL database.
- Write a rollback path for a risky data migration.
- Apply migration practices across Prisma, Drizzle, or Django projects.
Frequently Asked Questions
Which databases and ORMs does this skill cover?
PostgreSQL, MySQL, and ORMs including Prisma, Drizzle, Kysely, Django, TypeORM, and golang-migrate.
Does it address zero-downtime deployments?
Yes, zero-downtime deployment is one of the covered practices alongside schema changes, data migrations, and rollbacks.
Is it only for schema changes?
No — it also covers data migrations, rollbacks, and deployment concerns.
About this skill
Covers database migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments. It spans PostgreSQL, MySQL, and common ORMs including Prisma, Drizzle, Kysely, Django, TypeORM, and golang-migrate. Aimed at backend and DevOps work where migrations need to run safely in production.
Summary written with AI assistance from the project's public description.
Categories
More from affaan-m
Video Editing
AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg...
by affaan-m
Docker Patterns
Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration.
by affaan-m
Security Review
Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive fea...
by affaan-m
Backend Patterns
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
by affaan-m
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh