Fix regression that prevented registering Go migrations that didn't have the corresponding files
available in the filesystem. (#588)
If Go migrations have been registered globally, but there are no .go files in the filesystem,
always include them.
If Go migrations have been registered, and there are .go files in the filesystem, only
include those migrations. This was the original motivation behind #553.
If there are .go files in the filesystem but not registered, raise an error. This is to
prevent accidentally adding valid looking Go migration files without explicitly registering
them.
Fix regression that prevented registering Go migrations that didn't have the corresponding files
available in the filesystem. (#588)
If Go migrations have been registered globally, but there are no .go files in the filesystem,
always include them.
If Go migrations have been registered, and there are .go files in the filesystem, only
include those migrations. This was the original motivation behind #553.
If there are .go files in the filesystem but not registered, raise an error. This is to
prevent accidentally adding valid looking Go migration files without explicitly registering
them.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/pressly/goose/v3 from 3.15.0 to 3.15.1.
Release notes
Sourced from github.com/pressly/goose/v3's releases.
Changelog
Sourced from github.com/pressly/goose/v3's changelog.
Commits
091166a
Release v3.15.1e696fa3
feat(experimental): move Provider to an internal packagec590380
feat(experimental): add internal migrate package and SessionLocker interface ...ccfb885
feat(experimental): goose provider with unimplemented methods (#596)473a70d
build: bump deps and GH actions (#602)53f25a7
build(deps): bump the gomod group with 1 update (#593)b64f5c4
build(deps): bump actions/checkout from 3 to 4 (#595)7011525
fix: collect go migrations (#588)958c950
test: improve goose cli tests (#589)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show