migrate-db

Generate identical database migration files for MySQL, MSSQL, and PostgreSQL.

16|9|Updated Dec 27, 2025
One-click install
npx skills add https://github.com/omni-system-creator/omni --skill migrate-db-omni-system-creator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-db
Source: https://github.com/omni-system-creator/omni/tree/main/.claude/skills/migrate-db
Command: npx skills add https://github.com/omni-system-creator/omni --skill migrate-db-omni-system-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of database migration files for MySQL, MSSQL, and PostgreSQL when schema changes are needed, ensuring consistent versioning across all supported databases.

Core Features & Use Cases

  • Generates identical migration templates for all three databases with a single version number.
  • Detects the next version by scanning existing migrations and applies changes uniformly.
  • Supports best practices like idempotence, backward compatibility, and indexing guidance.

Quick Start

Run the migrate-db skill to generate the next set of migrations for a schema change across all three databases.

Frequently Asked Questions about migrate-db

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

FAQPage Schema
How do I create synchronized database migration files for MySQL, MSSQL, and PostgreSQL?

To create synchronized database migration files, you can automate the generation of identical migration templates for MySQL, MSSQL, and PostgreSQL using a single version number. The process scans existing migrations to determine the next version and outputs uniform files.

What is the best way to automate schema changes across multiple database engines?

Automating schema changes across multiple database engines is best handled by generating identical migration templates that enforce idempotence and backward compatibility. This ensures uniform schema updates across MySQL, MSSQL, and PostgreSQL with consistent versioning.

Does this database migration approach support idempotent and backward compatible schema updates?

Yes, this database migration approach supports idempotent and backward compatible schema updates. The generated migration files enforce best practices like idempotence and backward compatibility alongside standard naming conventions.

How do I determine the next version number for my database migrations?

To determine the next version number for database migrations, the system scans existing migration files in your project. It automatically detects the latest version and increments it to apply changes uniformly across all supported databases.

Can I generate identical migration templates for MySQL, MSSQL, and PostgreSQL at the same time?

Yes, you can generate identical migration templates for MySQL, MSSQL, and PostgreSQL at the same time. The automation outputs synchronized migration files for all three databases using a single version number when schema changes are needed.

What are the limitations of using synchronized migration files across different SQL databases?

The limitation of using synchronized migration files across different SQL databases is that identical templates may not capture engine-specific syntax features. While it enforces standard naming and backward compatibility, complex database-specific operations might require manual adjustments.