This skill equips Claude with comprehensive knowledge for architecting and executing PostgreSQL schema changes with precision. It addresses frequent migration pitfalls—such as subquery errors, immutability requirements for indexes, and circular dependencies—while promoting production-ready best practices. Whether you are implementing full-text search vectors, managing materialized views, or designing soft-delete patterns, this skill ensures your database evolution is idempotent, performant, and follows standardized SQL conventions.
주요 기능
01Troubleshooting for common SQL errors including ungrouped columns and function immutability.
02Patterns for idempotent migrations using IF NOT EXISTS and defensive extension handling.
03Standardized templates for migration files including triggers, views, and comments.
0481 GitHub stars
05Advanced schema management for circular dependencies, JSONB indexing, and soft deletes.
06Optimization strategies for full-text search using generated columns and GIN indexes.
사용 사례
01Generating re-runnable SQL migration scripts that safely handle existing database objects.
02Refactoring database schemas to include automated timestamps and audit triggers.
03Optimizing query performance by implementing composite indexes and materialized views.