Problem
I use git worktrees to run development of multiple features in parallel. Each worktree creates its own docker container with DB so that they don't share a single DB and can run completely in isolation. I have a worktree setup script that updates the connections JSON file with the new connection automatically but I cannot provide the password that way and have to manually enter it when connecting to the DB the first time.
Proposed solution
Allow creating connections via CLI, including setting the password.
Alternatives considered
To connect to a worktree DB I have to edit the connection once in the app to enter the password.
Related database type
None
Problem
I use git worktrees to run development of multiple features in parallel. Each worktree creates its own docker container with DB so that they don't share a single DB and can run completely in isolation. I have a worktree setup script that updates the connections JSON file with the new connection automatically but I cannot provide the password that way and have to manually enter it when connecting to the DB the first time.
Proposed solution
Allow creating connections via CLI, including setting the password.
Alternatives considered
To connect to a worktree DB I have to edit the connection once in the app to enter the password.
Related database type
None