database-migrations

Create, apply, and roll back database schema migrations across SQL, Prisma, TypeORM, Flyway, and Alembic.

1|1|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/corbat-tech/coco --skill database-migrations-corbat-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migrations
Source: https://github.com/corbat-tech/coco/tree/main/.claude/skills/user-project/database-migrations
Command: npx skills add https://github.com/corbat-tech/coco --skill database-migrations-corbat-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating, managing, and applying database schema changes, ensuring data integrity and minimizing downtime during deployments.

Core Features & Use Cases

  • Multi-Tool Support: Handles migrations for SQL, Prisma, TypeORM, Flyway, and Alembic.
  • Safety First: Enforces reversible migrations, data preservation, and zero-downtime strategies.
  • Use Case: Safely add a new email column to your users table using a zero-downtime approach, ensuring the application remains available throughout the process.

Quick Start

Use the database-migrations skill to add a nullable column named 'email' to the 'users' table.

Frequently Asked Questions about database-migrations

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

FAQPage Schema
How do I run zero-downtime database migrations on live tables?

Zero-downtime database migrations on live tables are managed by enforcing reversible schema changes and data preservation strategies, ensuring the application remains available throughout the deployment process.

How do I add a nullable column to a table using Prisma migrations?

To add a nullable column using Prisma migrations, you create a migration that alters the table schema to include the new column, allowing existing rows to populate it safely without disrupting application availability.

Does this database migration approach support both SQL and TypeORM?

Yes, this database migration approach supports both raw SQL and TypeORM, alongside Prisma, Flyway, and Alembic, enabling you to create, apply, and roll back schema changes across various tools.

What is the safest way to roll back a database schema migration?

The safest way to roll back a database schema migration is by adhering to universal migration rules that enforce reversibility and data preservation, allowing you to safely undo applied changes without losing operational stability.

Can I use Flyway and Alembic for zero-downtime database schema evolution?

Yes, you can use Flyway and Alembic for zero-downtime database schema evolution, as the migration management process supports creating, applying, and rolling back migrations safely across these specific tools.