fixed database.yml to use postgres in production