Guest User

Untitled

a guest
Apr 19th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. module.exports.datastores = {
  2.  
  3. // In previous versions, datastores (then called 'connections') would only be loaded
  4. // if a model was actually using them. Starting with Sails 1.0, _all_ configured
  5. // datastores will be loaded, regardless of use. So we'll only include datastores in
  6. // this file that were actually being used. Your original `connections` config is
  7. // still available as `config/connections-old.js.txt`.
  8.  
  9. 'developmentPostgres': {
  10. adapter: require('sails-postgresql'),
  11. url: process.env.postgresHost,
  12. user: process.env.postgresUser,
  13. password: process.env.postgresPassword,
  14. database: process.env.postgresDatabase
  15. }
  16.  
  17. };
Add Comment
Please, Sign In to add comment