Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dbadmin: {
- adapter: 'sails-mongo',
- host: 'dbadmin-host',
- port: 27017,
- user: 'username',
- password: 'password',
- database: 'dbadmin'
- }
- dbuser: {
- adapter: 'sails-mongo',
- host: 'dbuser-host',
- port: 27017,
- user: 'username',
- password: 'password',
- database: 'dbuser'
- }
- module.exports = {
- connection:'dbadmin',
- attributes: {
- name : { type: 'string' },
- pass : { type: 'string' }
- }
- };
- module.exports = {
- connection:'dbuser',
- attributes: {
- name : { type: 'string' },
- pass : { type: 'string' }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement