Postgres Migrations

🌐Community
by microck · vlatest · Repository

Automates PostgreSQL schema migrations using MicroCK's robust tooling for reliable, repeatable database updates.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add microck-postgres-migrations npx -- -y @trustedskills/microck-postgres-migrations
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "microck-postgres-migrations": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/microck-postgres-migrations"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill automates database migrations for PostgreSQL. It allows you to manage changes to your database schema in a controlled and repeatable way, applying updates incrementally. This ensures consistency across different environments (development, staging, production) and simplifies deployments.

When to use it

  • You need to update the structure of your PostgreSQL database.
  • You're deploying application code that requires database schema changes.
  • You want a reliable way to apply database updates without manual SQL scripts.
  • You are managing multiple environments (dev, staging, production) and need consistent schemas.

Key capabilities

  • Automated migration generation
  • Migration execution in order
  • Rollback support for migrations
  • PostgreSQL compatibility

Example prompts

  • "Generate a new migration to add a column named 'email' to the 'users' table."
  • "Apply all pending database migrations."
  • "Revert the last applied database migration."

Tips & gotchas

  • Requires access to a PostgreSQL database.
  • Ensure your database user has sufficient privileges to create and modify tables.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
microck
Installs
7

🌐 Community

Passed automated security scans.