changed database.yml to pg