Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports.datastores = {
- // In previous versions, datastores (then called 'connections') would only be loaded
- // if a model was actually using them. Starting with Sails 1.0, _all_ configured
- // datastores will be loaded, regardless of use. So we'll only include datastores in
- // this file that were actually being used. Your original `connections` config is
- // still available as `config/connections-old.js.txt`.
- 'developmentPostgres': {
- adapter: require('sails-postgresql'),
- url: process.env.postgresHost,
- user: process.env.postgresUser,
- password: process.env.postgresPassword,
- database: process.env.postgresDatabase
- }
- };
Add Comment
Please, Sign In to add comment