Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hello,

I'm happily using golang-migrate currently (as a library) to carry my migration needs. For a particular case, I need to store the migration version outside of the database that has to be migrated, or in a file.

I can't find any way with the current release to do that (neither did I find any other tool able to). So I'm going to fork golang-migrate to implement this. My idea is to introduce a VersionDrv struct (similar in spirit to DatabaseDrv or SourceDrv) to define how to handle version storage.

If you think that it's something that should be integrated in official release, let me know; I will submit a PR to do so. I will accept also any suggestions about the way to implement this accordingly with current architecture guidelines.

Best regards.

You must be logged in to vote

Replies: 1 comment

Comment options

Not sure if this would be of use: #1294

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
💡
Ideas
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.