diff --git a/Makefile b/Makefile index 2164f64..4c2a9a8 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +PG_URI?="" + start-local: mkdir -p ./.pg_data && \ chown $$(id -u):$$(id -g) ./.pg_data && \ @@ -7,3 +9,11 @@ start-local: stop-local: docker compose down .PHONY: stop-local + +river-migrate: + river migrate-up --database-url $(PG_URI) +.PHONY: river-migrate + +db-connect: + psql $(PG_URI) +.PHONY: db-connect