db-migration-generator

Generate SQL migration scripts for schema changes across multiple databases.

1|Updated May 15, 2026
One-click install
npx skills add https://github.com/arrowInkneeeee/AikSteinsGrimoire --skill db-migration-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-migration-generator
Source: https://github.com/arrowInkneeeee/AikSteinsGrimoire/tree/main/aik-skills-lab/db-migration-generator
Command: npx skills add https://github.com/arrowInkneeeee/AikSteinsGrimoire --skill db-migration-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyparsing, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The db-migration-generator Skill automates the process of creating database migration scripts, simplifying the maintenance and evolution of database schemas.

Core Features & Use Cases

  • Script Generation: Automatically generate SQL migration scripts compatible with Flyway, Liquibase, and plain SQL for a wide range of databases.
  • Type Checking: Ensures that migration scripts are compatible with the correct database type.
  • Script Customization: Offers configuration for script naming conventions, field names, and index prefixes.
  • Use Case: If you're developing a new feature that requires schema changes, use this Skill to create migration scripts for the required alterations without manually writing each one.

Quick Start

Run the db-migration-generator skill with the command: db-migration-generator -t 'MySQL' -o 'V1.0.0__add_new_column.sql'

Frequently Asked Questions about db-migration-generator

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

FAQPage Schema
How do I automatically generate database migration scripts for schema changes?

You can generate database migration scripts automatically by using a tool that applies predefined conventions to schema changes, producing Flyway, Liquibase, or plain SQL outputs for databases like MySQL, PostgreSQL, Oracle, and SQL Server.

Does Flyway and Liquibase migration script generation work with PostgreSQL and MySQL?

Yes, migration script generation supports both Flyway and Liquibase formats, and it performs specific type checking for PostgreSQL and MySQL databases to ensure schema compatibility.

How do I customize SQL migration script naming conventions and field names?

You can customize SQL migration scripts by configuring naming conventions, field names, and index prefixes before generation, ensuring the output matches your project's specific database schema standards.

What do I need to generate Flyway migration scripts for an Oracle database?

To generate Flyway migration scripts for Oracle, you need the pyparsing Python library for processing schema data, along with access to your project's pom.xml and application.yml files for database type verification.

How do I create a plain SQL migration script for adding a new column?

You can create a plain SQL migration script for a new column by running a generation command with target database and output filename parameters, such as specifying MySQL and a V1.0.0 SQL file.

What are the limitations of automated database schema migration script generation?

Automated database schema migration script generation relies on predefined conventions and requires the pyparsing dependency, meaning highly complex or non-standard schema alterations may still require manual script adjustments.