Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helium/psql-migration
A SQL migration script for Erlang
https://github.com/helium/psql-migration
Last synced: 5 days ago
JSON representation
A SQL migration script for Erlang
- Host: GitHub
- URL: https://github.com/helium/psql-migration
- Owner: helium
- License: apache-2.0
- Created: 2019-12-15T11:15:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-02T21:28:54.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T17:00:32.852Z (7 months ago)
- Language: Erlang
- Size: 1.67 MB
- Stars: 10
- Watchers: 25
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
psql_migration
=====[![CI](https://github.com/helium/psql-migration/actions/workflows/ci.yml/badge.svg)](https://github.com/helium/psql-migration/actions/workflows/ci.yml)
An escript to help with Postgres migrations.
This is inspired by the similarly named [pgsql_migration](https://github.com/artemeff/pgsql_migration) and the excellent tooling offered by [diesel](http://diesel.rs).
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.