changed database.yml to postgres for all three environments