We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v2.0.0 broke the ability to specify an absolute path for the migrations directory.
The culprit is likely https://github.com/amacneil/dbmate/pull/388/files#diff-85e7f15f76b0a01f7ef13c1a5e83e93ba61401694dc5118dba4180cc8f4d0a59R73 which will cause any path to be prefixed with the argument passed to DirFS()
DirFS()
Steps To Reproduce
The following command works correctly with v1.16.2:
$ dbmate -d /migrations migrate
Upgrading to v2.0.0 causes the following error:
Error: could not find migrations directory `/migrations`
Expected Behavior
Absolute paths should work as with previous versions
The text was updated successfully, but these errors were encountered:
Derp
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
v2.0.0 broke the ability to specify an absolute path for the migrations directory.
The culprit is likely https://github.com/amacneil/dbmate/pull/388/files#diff-85e7f15f76b0a01f7ef13c1a5e83e93ba61401694dc5118dba4180cc8f4d0a59R73 which will cause any path to be prefixed with the argument passed to
DirFS()
Steps To Reproduce
The following command works correctly with v1.16.2:
Upgrading to v2.0.0 causes the following error:
Expected Behavior
Absolute paths should work as with previous versions
The text was updated successfully, but these errors were encountered: