changed database.yml file to use postgres instead of sqlite3