-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
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
gf gen dao
link option doesn't work
#3459
Comments
err: pq: password authentication failed for user "postgres"
|
It can be confirmed that the real user, password and database of the database should be the value specified by the '-l' parameter, but the value in 'config.yaml' is used to run the command, so the validation fails.
|
…as it is passed from arguments (#3531)
What version of
Go
and system type/arch are you using?go version go1.22.1 darwin/arm64
What version of
GoFrame
are you using?v2.6.4
Can this bug be re-produced with the latest release?
Yes
What did you do?
local postgreSQL database configuration:
file
hack/config.yaml
:I executed the cmd:
gf gen dao -l "pgsql:postgres:abcd1234@tcp(127.0.0.1:5432)/my_app"
What did you expect to see?
Generate dao successfully.
What did you see instead?
The text was updated successfully, but these errors were encountered: