add migrate-up make command

This commit is contained in:
2026-09-21 20:57:28 +07:00
parent b1e7a78032
commit bdf48f4e99
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -4,7 +4,10 @@ DEV_USER_USERNAME ?= dev
DEV_USER_EMAIL ?= dev@example.com
DEV_USER_PASSWORD ?= dev123456
.PHONY: dev-user
.PHONY: dev-user migrate-up
migrate-up:
goose -dir ./migrations postgres "$(DATABASE_URL)" up
dev-user:
psql "$(DATABASE_URL)" \