updated pathing in main and updated how to find migrations
This commit is contained in:
parent
8d8781eac4
commit
029710ad31
@ -5,8 +5,8 @@ import (
|
||||
"log"
|
||||
"net/http"
|
||||
|
||||
"git.jamestombleson.com/jtom38/go-cook/api/services"
|
||||
v1 "git.jamestombleson.com/jtom38/go-cook/api/handlers/v1"
|
||||
v1 "git.jamestombleson.com/jtom38/go-cook/internal/handlers/v1"
|
||||
"git.jamestombleson.com/jtom38/go-cook/internal/services"
|
||||
|
||||
_ "github.com/glebarez/go-sqlite"
|
||||
"github.com/go-playground/validator"
|
||||
@ -34,7 +34,7 @@ func main() {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
err = goose.Up(db, "api/migrations")
|
||||
err = goose.Up(db, "../internal/migrations")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user