galaxy-db-migration

Manage Galaxy database schema migrations with Alembic for gxy and tsi branches.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/arash77/galaxy-claude-marketplace --skill galaxy-db-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: galaxy-db-migration
Source: https://github.com/arash77/galaxy-claude-marketplace/tree/main/plugins/galaxy-dev/skills/galaxy-db-migration
Command: npx skills add https://github.com/arash77/galaxy-claude-marketplace --skill galaxy-db-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of managing database schema changes for the Galaxy project, ensuring consistency between your codebase and the live database.

Core Features & Use Cases

  • Create Migrations: Generate new database migration scripts based on model changes.
  • Apply Migrations: Upgrade or downgrade the database to specific versions.
  • Check Status: Verify the current database version against the codebase.
  • Troubleshoot: Diagnose and resolve common migration errors.
  • Use Case: When you update a Galaxy model, use this Skill to create a new migration, apply it to your development database, and then verify the schema changes.

Quick Start

Use the galaxy-db-migration skill to create a new database migration.

Frequently Asked Questions about galaxy-db-migration

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

FAQPage Schema
How do I create a database migration script after updating a SQLAlchemy model in Galaxy?

To create a database migration after updating a SQLAlchemy model, generate a new Alembic migration revision to capture the schema changes for the Galaxy project. This ensures your codebase and live database stay consistent.

How does Alembic manage database schema migrations for Galaxy's gxy and tsi branches?

Alembic manages database schema migrations for Galaxy by tracking revisions across both gxy and tsi branches, allowing you to apply schema modifications, resolve version conflicts, and maintain consistency between code and database versions.

Can I upgrade or downgrade my Galaxy database to a specific Alembic revision?

Yes, you can upgrade or downgrade the Galaxy database to specific versions using Alembic revision commands. This allows you to apply new schema changes or roll back to previous database states during development.

What is the best way to check the current Galaxy database migration status against the codebase?

The best way to check migration status is to verify the current Galaxy database version against the codebase using Alembic status commands. This confirms whether all pending schema migrations have been applied or if updates are required.

How do I troubleshoot common database migration errors in Galaxy?

To troubleshoot common Galaxy database migration errors, use the Skill to diagnose and resolve version conflicts or schema inconsistencies. It helps identify pending migrations and ensures the database matches the expected SQLAlchemy models.

When do I need to use Alembic for Galaxy database schema modifications?

You need to use Alembic for Galaxy database schema modifications whenever you update SQLAlchemy models and must propagate those structural changes to the live database without losing existing data.