added database config.rb support for db in production