Added valid postgres connect string with host and password
This commit is contained in:
parent
c627e49002
commit
a11f3de60d
@ -43,7 +43,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
db, err := gorm.Open("postgres", "user=gorm dbname=gorm sslmode=disable")
|
||||
db, err := gorm.Open("postgres", "host=myhost user=gorm dbname=gorm sslmode=disable password=mypassword")
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user