edited config/database.yml for using sql