Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

pgevolve

Postgres-specific declarative schema management.

pgevolve treats a directory of CREATE-style SQL files as the source of truth for one or more Postgres schemas, introspects a live database to derive its current state, and computes ordered, dependency-aware migration plans that bring the database to the desired state. It refuses to lose data unless explicitly authorized in a per-plan intent file.

Current release: v0.3.9 (Postgres 14–18). See the Changelog for per-release detail.

What to read

License

Dual-licensed under MIT or Apache-2.0.