features/sqlite-sorta-workin #4

Merged
jtom38 merged 5 commits from features/sqlite-sorta-workin into main 2024-03-22 12:26:55 -07:00
2 changed files with 6 additions and 0 deletions
Showing only changes of commit ab8a674988 - Show all commits

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