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

Add SolidErrors::migrated? to ensure that automatically updated dependencies fail when missing migrations #31

Open
MarcusRiemer opened this issue Feb 27, 2024 · 1 comment

Comments

@MarcusRiemer
Copy link

I just noticed that the upcoming version will require a database migration. I have no idea on how you are planning to communicate or handle the execution of those migrations, but I can point to an implementation that I really like: good_job does a great job on explaining itself with regards to updates.

The most interesting part for me is as follows:

Database migrations introduced in minor releases are not required to be applied until the next major release. If you would like to apply newly introduced migrations immediately, assert GoodJob.migrated? in your application's test suite.

Would you consider something similar for solid_errors?

@fractaledmind
Copy link
Owner

I have released 0.4.0. There is an upgrade guide: https://github.com/fractaledmind/solid_errors/blob/main/UPGRADE.md

But nothing more advanced than that.

I'd be open to exploring something similar to GoodJob, but I think an initial PR would help to see the vision more concretely.

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

No branches or pull requests

2 participants