fix: correct db name setting
This commit is contained in:
parent
539d5ead65
commit
d30d2f34b5
2
db/db.go
2
db/db.go
|
@ -32,7 +32,7 @@ func (d *DatabaseImpl) Init(p interfaces.Portal) error {
|
||||||
password := viper.GetString("core.db.password")
|
password := viper.GetString("core.db.password")
|
||||||
host := viper.GetString("core.db.host")
|
host := viper.GetString("core.db.host")
|
||||||
port := viper.GetString("core.db.port")
|
port := viper.GetString("core.db.port")
|
||||||
dbname := viper.GetString("core.db.dbname")
|
dbname := viper.GetString("core.db.name")
|
||||||
charset := viper.GetString("core.db.charset")
|
charset := viper.GetString("core.db.charset")
|
||||||
|
|
||||||
// Construct DSN
|
// Construct DSN
|
||||||
|
|
Loading…
Reference in New Issue