-
Notifications
You must be signed in to change notification settings - Fork 522
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
Goose didn't pick up go migration #846
Comments
Can you double-check that you imported the
|
Yeah. It's present. What's weird is this isn't the first go migration file that we had. We had Also, changing the filename to Another thing I noticed is that this specific case was only present when run in a container. I'm attaching
This file as well hasn't changed. Another thing which I tried was adding the .go files to the go fs that we pass to goose var (
//go:embed postgres/*.sql postgres/*.go
migrationsFS embed.FS
) This made the 42 file discoverable at least. I was getting error
Ignore the |
Can you jot down the goose version you're using? I suspect when using When goose is made aware of the I'd gladly help you, but without a reproducible example, it's hard to pinpoint the issue. If possible, creating the absolute minimum repository with a reproducible example would be helpful here. |
Hello, we are using goose for a while now and it's an amazing tool. Thanks for building it first of all.
I encountered an issue with goose, for some reason this go migration wasn't picked up.
filename="migrations/postgres/00042_add_stock_runner_ubuntu_2404_arm64.go"
Let me know if you need additional info on this.
The text was updated successfully, but these errors were encountered: