Adds database config for development and production to app.rb