knexfile-js.stub 721 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Update with your config settings.
  2. module.exports = {
  3. development: {
  4. client: 'sqlite3',
  5. connection: {
  6. filename: './dev.sqlite3'
  7. }
  8. },
  9. staging: {
  10. client: 'postgresql',
  11. connection: {
  12. database: 'my_db',
  13. user: 'username',
  14. password: 'password'
  15. },
  16. pool: {
  17. min: 2,
  18. max: 10
  19. },
  20. migrations: {
  21. tableName: 'knex_migrations'
  22. }
  23. },
  24. production: {
  25. client: 'postgresql',
  26. connection: {
  27. database: 'my_db',
  28. user: 'username',
  29. password: 'password'
  30. },
  31. pool: {
  32. min: 2,
  33. max: 10
  34. },
  35. migrations: {
  36. tableName: 'knex_migrations'
  37. }
  38. }
  39. };