helper files

This commit is contained in:
James Tombleson 2024-03-21 22:42:03 -07:00
parent 3c145d66af
commit ab8a674988
2 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@ -9,6 +9,7 @@
*.so *.so
*.dylib *.dylib
go-cook go-cook
*.db
# Test binary, built with `go test -c` # Test binary, built with `go test -c`
*.test *.test

5
Justfile Normal file
View File

@ -0,0 +1,5 @@
migrate-up:
GOOSE_DRIVER=sqlite3 GOOSE_DBSTRING=./gocook.db goose -dir ./api/migrations up
migrate-down:
GOOSE_DRIVER=sqlite3 GOOSE_DBSTRING=./gocook.db goose -dir ./api/migrations down