graphile / migrate

Opinionated SQL-powered productive roll-forward migration tool for PostgreSQL.
MIT License
751 stars 58 forks source link

Support a `--gmrc-path [filepath]` or `--config [filepath]` option #102

Closed ben-pr-p closed 3 years ago

ben-pr-p commented 3 years ago

Feature description

I'd like to be able to run:

graphile-migrate --config apps/api/.gmrc

and

graphile-migrate --config apps/coordinator/.gmrc

in my monorepo which contains projects that communicate together but run on 2 separate databases and should have different DATABASE_URL's and different SHADOW_DATABASE_URL's

Breaking changes

Don't think we'd need any breaking changes - if's not present, we default back to .gmrc(.js).

Supporting development

I [tick all that apply]: