pgroll

Execute zero-downtime migrations for PostgreSQL databases

brewmacoslinux
Try with needOr install directly
Source

About

Postgres zero-downtime migrations made easy

Commands

pgroll

Examples

Initialize a new migration project$ pgroll init --postgres-url postgres://user:pass@localhost/dbname
Start a migration with a SQL script$ pgroll start --migration add_users_table < migration.sql
Roll back the active migration$ pgroll rollback