Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrations Fail to Find Goose #38

Closed
srwadleigh opened this issue Jan 4, 2022 · 0 comments · Fixed by #39
Closed

Migrations Fail to Find Goose #38

srwadleigh opened this issue Jan 4, 2022 · 0 comments · Fixed by #39

Comments

@srwadleigh
Copy link

When running a migration target against an external database, without using containers, the migrations fail looking for the goose binary. For example running make migrate_pre_batch_set by hand from this repo.

The make script is looking for goose at /bin/goose but because goose is installed with go get as part of the migration process itself on a live system goose ends up in the respective user's go path ~/go/bin/goose

Ideally we would defer to the local $PATH to handle the location the binary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant