balmasi / migrate-mongoose

A node based migration framework for mongoose supporting ES6 migrations
MIT License
264 stars 84 forks source link

Add .env file support #36

Closed jamshally closed 5 years ago

jamshally commented 6 years ago

Adding .env file support. This provides a convenient mechanism for separating generic configuration data that can be committed to source control, from sensitive configuration data that should not (such as database connection strings with embedded credentials). The JSON configuration file can be used for the former, and .env files for the latter.

balmasi commented 5 years ago

Thanks for submitting this, but it has too many other types of changes besides .env.

Regardless, I've taken your lead and added .env in 4.0.0