Skip to content
aj-geddes avatar

Database Migration Management

Structured database migration guidance covering schema versioning, rollbacks, and data transformations for PostgreSQL and MySQL.

CCM score
38 of 100
skills.sh installs
506
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers schema versioning, rollback planning, data transformations, and multi-environment migration deployments for PostgreSQL and MySQL
  • Includes a schema_migrations tracking table and a migration_logs table recording status, errors, and rollback timestamps
  • Provides reference guides for adding columns, renaming columns, non-blocking index creation, data transformations, and table structure changes
  • Designed for teams planning production schema changes that need testable and reversible migration steps

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill database-migration-management -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Database Migration Management

Table of Contents

Overview

Implement robust database migration systems with version control, rollback capabilities, and data transformation strategies. Includes migration frameworks and production deployment patterns.

When to Use

  • Schema versioning and evolution
  • Data transformations and cleanup
  • Adding/removing tables and columns
  • Index creation and optimization
  • Migration testing and validation
  • Rollback planning and execution
  • Multi-environment deployments

Quick Start

Minimal working example:

-- Create migrations tracking table
CREATE TABLE schema_migrations (
  version BIGINT PRIMARY KEY,
  name VARCHAR(255) NOT NULL,
  executed_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
  duration_ms INTEGER,
  checksum VARCHAR(64)
);

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Category
Databases
First seen
Jun 3, 2026

Questions

What does the database-migration-management skill do?

The database-migration-management skill manages database migrations and schema versioning for PostgreSQL and MySQL. It covers planning migrations, version control, rollback strategies, and data transformations, with reference guides on adding columns, renaming columns, and creating indexes non-blocking.

How do I install the database-migration-management skill?

Run npx -y skills add aj-geddes/useful-ai-prompts --skill database-migration-management -y in your project. Once installed, database-migration-management lets your agent plan schema changes and track migrations with a schema_migrations table.

Where does database-migration-management stand in the Databases category?

database-migration-management is listed in the Databases category on Claude Marketplaces, next to supabase-postgres-best-practices and several Prisma skills. Unlike those, database-migration-management focuses on schema versioning, rollback planning and safe data transformations.

More from aj-geddes/useful-ai-prompts

All 258

Similar to Database Migration Management

More Databases