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

Fix subsequent rollbacks #405

Merged
merged 1 commit into from
Feb 28, 2023
Merged

Fix subsequent rollbacks #405

merged 1 commit into from
Feb 28, 2023

Conversation

sunaurus
Copy link
Contributor

@sunaurus sunaurus commented Feb 27, 2023

There's a small issue with a pointer that only allows one rollback to work: #404

This PR fixes the issue and adds a second rollback in the test case to prove that it works now.

Fixes #404

@sunaurus
Copy link
Contributor Author

By the way, make docker-sh is excellent - I don't have any experience with setting up or using Go, so I was really pleasantly surprised at how easy it was to get up and running in this repo 👍

@amacneil amacneil changed the title Fix subsequent rollbacks (fixes #404) Fix subsequent rollbacks Feb 28, 2023
@amacneil
Copy link
Owner

amacneil commented Feb 28, 2023

Thanks for fixing! And appreciate the feedback on make docker-sh.

What an annoying pointer issue 😓. Disappointed that the existing tests did not cover this.

@amacneil amacneil merged commit ee50711 into amacneil:main Feb 28, 2023
amacneil added a commit that referenced this pull request Feb 28, 2023
Further improvements to rollback tests.

Ref #404 #405
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.

dbmate down on 2.0.0 will only roll back the newest migration
2 participants