Guest User

Untitled

a guest
Feb 7th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. # SQLite version 3.x
  2. # gem install sqlite3
  3. #
  4. # Ensure the SQLite 3 gem is defined in your Gemfile
  5. # gem 'sqlite3'
  6. #
  7. default: &default
  8. adapter: sqlite3
  9. pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
  10. timeout: 5000
  11.  
  12. development:
  13. <<: *default
  14. database: db/development.sqlite3
  15.  
  16. # Warning: The database defined as "test" will be erased and
  17. # re-generated from your development database when you run "rake".
  18. # Do not set this db to the same as development or production.
  19. test: &test
  20. <<: *default
  21. database: db/test.sqlite3
  22.  
  23. production:
  24. adapter: mysql2
  25. encoding: utf8
  26. database: <%=ENV['DB_NAME']%>
  27. pool: 5
  28. username: <%=ENV['DB_USER']%>
  29. password: <%=ENV['DB_PASSWORD']%>
  30. host: <%=ENV['DB_HOST']%>
  31.  
  32. cucumber:
  33. <<: *test
Add Comment
Please, Sign In to add comment