database-schema-differ
Installation
SKILL.md
Database Schema Differ
What This Does
A CLI tool to compare database schemas across different environments (development, staging, production), generate migration scripts, and track schema evolution over time. Support for PostgreSQL, MySQL, SQLite, and other databases via SQLAlchemy.
Key features:
- Schema comparison: Compare schemas between databases, branches, or points in time
- Migration generation: Automatically generate SQL migration scripts (up/down) for schema changes
- Schema snapshots: Capture and store schema snapshots for historical comparison
- Drift detection: Identify schema drift between environments (dev vs prod, etc.)
- Multiple database support: PostgreSQL, MySQL, SQLite, SQL Server, Oracle via SQLAlchemy
- Export formats: Generate SQL, JSON, or visual diff outputs
- Integration ready: Works with Alembic, Django migrations, or standalone
- Change tracking: Track schema evolution over time with versioning
- CI/CD friendly: Output machine-readable formats for automation pipelines