Guest User

Untitled

a guest
Aug 22nd, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. ```JavaScript
  2. // knexfile.js
  3. module.exports = {
  4. development: {
  5. client: 'pg',
  6. connection: {
  7. database: config.get('db:database'),
  8. user: config.get('db:user'),
  9. password: config.get('db:password'),
  10. host: config.get('db:host'),
  11. port: config.get('db:port'),
  12. }
  13. },
  14. test: {
  15. client: 'pg',
  16. connection: {
  17. database: config.get('testDB:database'),
  18. user: config.get('testDB:user'),
  19. password: config.get('testDB:password'),
  20. host: config.get('testDB:host'),
  21. port: config.get('testDB:port'),
  22. }
  23. }
  24. };
  25. ```
Add Comment
Please, Sign In to add comment