diff --git a/Makefile b/Makefile index 6a95a558..54e9c695 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ $(BIN)/gometalinter.v2: $(METALINT) --install .PHONY: installtools -installtools: | $(LINT) $(MIGRATE) $(GINKGO) $(DEP) +installtools: | $(LINT) $(GOOSE) $(GINKGO) $(DEP) echo "Installing tools" .PHONY: metalint diff --git a/Supfile b/Supfile index ba558f76..c224ae87 100644 --- a/Supfile +++ b/Supfile @@ -38,7 +38,8 @@ commands: run: > cd $VDB_PATH && make installtools && - /root/go_projects/bin/migrate -database postgresql://$VDB_PG_USER:$VDB_PG_PW@127.0.0.1:5432/vulcanize_public?sslmode=disable -path ./db/migrations up + cd db/migrations && + /root/go_projects/bin/goose postgres "postgresql://$(VDB_PG_USER):$(VDB_PG_PW)@127.0.0.1:5432/vulcanize_public?sslmode=disable" up buildPostgraphile: desc: build postgraphile app run: >