You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The diesel setup command sets the migrations_directorydir field of the diesel.toml file to an absolute path, which both leaks personal information (at least the username of the user running the setup command) and breaks it when the local repository has a different path (for instance, when cloned by another team member).
Since it seems to be working perfectly fine with a relative path, I think it would be recommendable to have diesel setup set the migrations directory using a path relative to the root of the crate.
Setup
Versions
Problem Description
The
diesel setup
command sets themigrations_directory
dir
field of the diesel.toml file to an absolute path, which both leaks personal information (at least the username of the user running the setup command) and breaks it when the local repository has a different path (for instance, when cloned by another team member).Since it seems to be working perfectly fine with a relative path, I think it would be recommendable to have
diesel setup
set the migrations directory using a path relative to the root of the crate.Checklist
closed if this is not the case)
The text was updated successfully, but these errors were encountered: