changed database.yml to use postgres