A SQL migration script for Erlang
Go to file
2019-12-15 07:38:32 -04:00
.buildkite Add buildkite (#1) 2019-12-15 07:34:28 -04:00
src First working version 2019-12-15 07:14:42 -04:00
.gitignore First working version 2019-12-15 07:14:42 -04:00
CONTRIBUTING.md First working version 2019-12-15 07:14:42 -04:00
LICENSE First working version 2019-12-15 07:14:42 -04:00
Makefile Add buildkite (#1) 2019-12-15 07:34:28 -04:00
README.md Typos in README 2019-12-15 07:38:32 -04:00
rebar3 First working version 2019-12-15 07:14:42 -04:00
rebar.config First working version 2019-12-15 07:14:42 -04:00
rebar.lock First working version 2019-12-15 07:14:42 -04:00

psql_migration

Build status

An escript to help with Postgres migrations.

This is inspired by the similarly named pgsql_migration and the excellent tooling offered by diesel.

Build

$ Make

Run

The script will look for a DATABASE_URL environment variable for connectivity details a running Postgres and supports .env file to hold that variable.

Run the script with:

$ _build/default/bin/psql_migration

See the help output for more details on options and commands.