Open Arr-n-D opened 2 months ago
Indeed, this was never exposed beyond the pre-built goose
CLI.
Indeed, this was never exposed beyond the pre-built
goose
CLI.
But why?) Why I can't use it from self-build binary?
Not a good reason. It was an experimental command, but if there's enough demand, I'm happy to make it part of the stable API. Just need to fix a minor bug.
I've built a custom goose binary for embedding Go migrations.
When running my binary and running the validate command, I get an error claiming that validate does not exist.
My code depends on v3@v3.21.1, and when looking at goose.go, the validate function indeed does not exist, as seen here https://github.com/pressly/goose/blob/master/goose.go#L67