the url for postgres was not right....