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
Describe the bug
When invoking the hydra sql migrate command, the help message indicates that the database URL must either be specified as a command line argument (i.e. hydra sql migrate <DATABASE_URL>) or sourced from the environment variable DSN if the user specifies the -e flag.
In reality, if the user specifies the -e flag, it will also (only?) pull the database URL from the config file provided via the --config flag.
To Reproduce
Steps to reproduce the behavior:
Run hydra sql migrate --config test.yaml where the test configuration file specifies a database URL under the dsn key.
Observe that the command is not executed and instead a usage message is output in the terminal.
Expected behavior
The command would read the target database URL from the indicated config file.
Version:
Environment: Kubernetes
Version v1.0.0-rc10
The text was updated successfully, but these errors were encountered:
Describe the bug
When invoking the
hydra sql migrate
command, the help message indicates that the database URL must either be specified as a command line argument (i.e.hydra sql migrate <DATABASE_URL>
) or sourced from the environment variableDSN
if the user specifies the-e
flag.In reality, if the user specifies the
-e
flag, it will also (only?) pull the database URL from the config file provided via the--config
flag.To Reproduce
Steps to reproduce the behavior:
hydra sql migrate --config test.yaml
where the test configuration file specifies a database URL under thedsn
key.Expected behavior
The command would read the target database URL from the indicated config file.
Version:
The text was updated successfully, but these errors were encountered: