Gavel

A CLI tool for running database migrations with rollback safety and dry-run support.

★ 450GitHub stars

Why I built this

After being burned by irreversible migrations in production one too many times, I built Gavel to enforce rollback safety at the schema level. Every migration must define both an up and a down, and the tool verifies rollback integrity before applying changes.

Stack

RustPostgreSQLSQLiteCLI