Created a migration package to handle the migrations

This commit is contained in:
2025-02-20 23:01:39 +11:00
parent a575025f1f
commit 79838b4aae
6 changed files with 78 additions and 144 deletions

View File

@@ -1,5 +1,6 @@
# Makefile
.PHONY: build
.PHONY: migrate
BINARY_NAME=projectreshoot
@@ -29,3 +30,8 @@ test:
clean:
go clean
migrate:
go mod tidy && \
go generate && \
go build -ldflags="-w -s" -o psmigrate ./migrate