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

Comparison of dbmate vs sqitch or flyway #249

Closed
halostatue opened this issue Dec 15, 2021 · 4 comments · Fixed by #306
Closed

Comparison of dbmate vs sqitch or flyway #249

halostatue opened this issue Dec 15, 2021 · 4 comments · Fixed by #306

Comments

@halostatue
Copy link

Both sqitch and flyway are mature alternatives that would be good to add to your comparison, although they have somewhat larger requirements (Perl for sqitch, Java for flyway).

@halostatue
Copy link
Author

One of the things that’s really nice about sqitch is that it has three pieces to each migration, each as a separate file:

  • up
  • down
  • verify

The verify step encourages people to write a query that confirms that the migration happened successfully. It can also integrate with pgTAP for Postgres, to enable unit testing.

@Enrico204
Copy link
Contributor

Nice tools. Are you willing to propose a change in the comparison table by opening a pull request? :-)

@halostatue
Copy link
Author

I can do sqitch (it’s what we use at work), but I know almost nothing about flyway except that it exists. I’ve also made sqitch much easier to use for us by putting it in a Docker image complete with pgTAP.

@Enrico204
Copy link
Contributor

Good! We can integrate sqitch now, and then see if anyone else uses flyway :-)

amacneil added a commit that referenced this issue Mar 12, 2023
References issue #249

Addresses issues in PR #268

Co-authored-by: Adrian Macneil <adrian@foxglove.dev>
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 a pull request may close this issue.

2 participants