Postgres Migrations
Automates PostgreSQL schema changes via migration files, ensuring consistent database evolution with Frizzle-Chan's tooling.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add postgres-migrations npx -- -y @trustedskills/postgres-migrations
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"postgres-migrations": {
"command": "npx",
"args": [
"-y",
"@trustedskills/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 in PostgreSQL. It allows you to apply, rollback, and manage changes to your database schema in a controlled and versioned manner. This ensures consistent database state across different environments and simplifies deployments.
When to use it
- You need to update the structure of your PostgreSQL database (e.g., adding tables, columns, or indexes).
- You want to safely revert changes made to your database schema if an issue arises during deployment.
- Your development team follows a version-controlled approach for database modifications.
- You are deploying applications across multiple environments (development, staging, production) and need consistent schemas.
Key capabilities
- Apply migrations to update the database schema.
- Rollback migrations to revert changes.
- Manage migration versions.
Example prompts
- "Run the latest pending PostgreSQL migrations."
- "Revert the last applied PostgreSQL migration."
- “Show me a list of all available PostgreSQL migrations.”
Tips & gotchas
This skill requires a working PostgreSQL database and access to its command line tools. Ensure that you have appropriate permissions to modify the database schema before using this skill.
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 Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.