database-schema-sync
Installation
SKILL.md
Database Schema Management
USE SCHEMA SYNC SCRIPT, NOT ALEMBIC MIGRATIONS
PREFERRED APPROACH: Smart schema sync script that detects and applies only missing changes.
STRICT RULES
- ✅ ALWAYS USE:
scripts/sync-production-schema.pyfor production deployments - ✅ IDEMPOTENT: Can run multiple times safely without errors
- ✅ TRANSPARENT: Shows exactly what will change before applying
- ❌ AVOID: Running Alembic migrations directly in production
- ❌ AVOID: Manual SQL scripts that aren't version controlled
- ⚠️ KEEP: Alembic migration files for documentation purposes only