Advertisement
Guest User

Untitled

a guest
Dec 20th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. dbadmin: {
  2. adapter: 'sails-mongo',
  3. host: 'dbadmin-host',
  4. port: 27017,
  5. user: 'username',
  6. password: 'password',
  7. database: 'dbadmin'
  8. }
  9.  
  10. dbuser: {
  11. adapter: 'sails-mongo',
  12. host: 'dbuser-host',
  13. port: 27017,
  14. user: 'username',
  15. password: 'password',
  16. database: 'dbuser'
  17. }
  18.  
  19. module.exports = {
  20. connection:'dbadmin',
  21. attributes: {
  22.  
  23. name : { type: 'string' },
  24.  
  25. pass : { type: 'string' }
  26. }
  27. };
  28.  
  29. module.exports = {
  30. connection:'dbuser',
  31. attributes: {
  32.  
  33. name : { type: 'string' },
  34.  
  35. pass : { type: 'string' }
  36. }
  37. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement