Yeah good question, and you should really use that notation in migration.js, since what this does is allows you to override the default db with a custom one using process environment variables. As it stands, if you were using an override, it would not work with migration.js
https://github.com/kevinhynes/capstoneExpresso/blob/master/api/timesheets.js#L6
Yeah good question, and you should really use that notation in migration.js, since what this does is allows you to override the default db with a custom one using process environment variables. As it stands, if you were using an override, it would not work with migration.js
here is a good article about those variables https://www.twilio.com/blog/2017/08/working-with-environment-variables-in-node-js.html