-
Notifications
You must be signed in to change notification settings - Fork 2
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
Consider finding a new tool for migrations #609
Comments
This is coming up now because graphile-worker creates its tables in a separate schema, and has a |
I opened ThomWright/postgres-migrations#108 just in case there's a chance we can help maintain upstream (which I think would be explicitly better than forking and maintaining our own version). |
I have no objection to forking if you don't hear back soon. I guess the downside is integrating the fork, right? Either having to publish a newly-named fork to |
Darn, that is limiting! A third option would be to explore the forks, and perhaps collaborate / contribute there. It looks like the |
zakpatterson's library is probably a good bet -- and they also did respond to the original issue pointing out that they had a fork. I'm fine with it; I suppose the only real risk is that it might not be maintained in future... which is already the current state! I'll try making the swap today. If upstream ends up being interested in help maintaining we can cross that bridge (and I suspect zakpatterson might even be interested in joining that team) |
The upstream copy of our postgres-migrations project has an issue where it does not support postgres schemas, and if ANY schema has a migrations table then migrations will fail. This was frustrating for running tests, but recently while looking into developing a job queue which would require a separate schema it became a blocking issue. Upstream also appears to no longer be maintained (the most recent commit as of this writing was about 2 years ago, and the PR we opened to fix the schema limitation has been open for around 18 months). Fortunately there is a fork of the library designed specifically for adding schema support. This replaces the library with the modified version and also updates our migration code to utilize the schema functionality. Issue #609 Consider finding a new tool for migrations
https://github.com/ThomWright/postgres-migrations seems to be a dead project. I have a PR to fix a bug that affects us which has been open for about 18 months: ThomWright/postgres-migrations#93
It also is not being kept up to date more generally / the last commit was made 2 years ago.
We might consider:
The text was updated successfully, but these errors were encountered: