database-migrations

Coordinate safe, reversible database migrations across PostgreSQL, MySQL, and ORMs.

2|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/MomoDaviluke/star-citizen-promotion --skill database-migrations-momodaviluke
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migrations
Source: https://github.com/MomoDaviluke/star-citizen-promotion/tree/main/.agents/skills/ecc/database-migrations
Command: npx skills add https://github.com/MomoDaviluke/star-citizen-promotion --skill database-migrations-momodaviluke

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Database migrations are risky and can cause downtime or data loss if not carefully managed. This skill provides a structured approach for safe, reversible schema and data changes across multiple ecosystems.

Core Features & Use Cases

  • Expand-contract zero-downtime strategy
  • Separate schema and data migrations with clear rollback paths
  • Cross-ORM tooling support (Prisma, Drizzle, Kysely, Django, TypeORM, golang-migrate)

Quick Start

Review your current schema, scaffold a migration, and apply it with your preferred migration tool.

Frequently Asked Questions about database-migrations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform zero-downtime database migrations?

Perform zero-downtime database migrations by applying an expand-contract strategy, separating schema changes from data migrations, and using non-blocking index creation to prevent table locks during rollout.

Does this database migration approach support Prisma and Drizzle?

Yes, this database migration approach supports Prisma, Drizzle, Kysely, Django, TypeORM, and golang-migrate, coordinating safe reversible schema and data changes across these ORMs.

What is the best way to separate schema and data migrations for rollback safety?

The best way to separate schema and data migrations is to split them into distinct steps with clear rollback paths, enforcing a migration safety checklist to prevent data loss.

How do I apply non-blocking index strategies in PostgreSQL?

Apply non-blocking index strategies in PostgreSQL by using concurrent index creation methods, which the skill enforces to avoid locking tables during schema changes and maintain zero-downtime.

Can I reverse a schema change if a data migration fails?

Yes, you can reverse a schema change if a data migration fails because the skill enforces reversible migration paths and safety checklists to safely rollback database changes.

Why do I need to separate schema changes from data migrations?

You need to separate schema changes from data migrations to maintain zero-downtime rollout, ensure safe reversibility, and prevent data loss caused by tightly coupled database updates.