changed database yml file to use postgresql