We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dad50f5 commit 6be9073Copy full SHA for 6be9073
1 file changed
internal/database/postgresql.go
@@ -37,6 +37,10 @@ func NewPostgreSQLRepository(ctx context.Context, opts PostgreSQLOptions) (*Post
37
return nil, err
38
}
39
40
+ if popt.Path == "" {
41
+ popt.Path = "postgres"
42
+ }
43
+
44
popt.User = url.UserPassword(opts.Username, opts.Password)
45
46
if opts.DatabaseName != "" {
0 commit comments