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

Rebase Check command to newer version of upstream goose (3.20.0) #5

Draft
wants to merge 436 commits into
base: master
Choose a base branch
from

Conversation

burkostya
Copy link

Changes:

  • Adds the capability to load configuration from a file using viper.
  • Introduces a new command check to identify skipped migrations.
  • Updates dependencies in go.mod and go.sum to include viper and other necessary packages.
  • Adds a new configuration file example dbconf.yml in testdata/config.

These changes enhance the flexibility of the tool by allowing configurations to be managed via files and provide a new utility command for database migration management.

Only last 7 commits should be reviewed (starting from f722b0d)

pr-desc-generated-by: GPT-4o

floydjones1 and others added 30 commits August 8, 2021 11:48
…#244)

This needed to use go 1.16 'embed' feature.
By default, migrations discovered from os filesystem.
This can be changed using `SetBaseFS` method.
mfridman and others added 26 commits March 11, 2024 09:41
…ressly#721)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…o 26.0.2+incompatible in /internal/testing (pressly#748)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This reverts commit 4c2ce21, reversing
changes made to 4cd503a.
This reverts commit 4cd503a, reversing
changes made to 1987196.
This reverts commit 1987196, reversing
changes made to 965ffbd.
This reverts commit 965ffbd, reversing
changes made to ac7080e.
…ration using file

- Introduced new flags for config
- Use viper for reading file
- Tidy go.mod
…y skipped migrations

- Implement CheckContext to verify all migrations applied
- Update command mapping in main.go
- Add 'check' command documentation to CLI help

reapplies commit 3988e67
@burkostya burkostya requested a review from ivan-korostel May 14, 2024 16:27
@burkostya burkostya self-assigned this May 14, 2024
- Change log.Fatalf to log.Printf for warn
- Update return types in loadConfig function
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 this pull request may close these issues.