sql config in application.rb