mirror of https://github.com/cloudreve/Cloudreve
Update client.go
parent
3366e89901
commit
3458d5a6e0
|
@ -52,7 +52,7 @@ func NewRawEntClient(l logging.Logger, config conf.ConfigProvider) (*ent.Client,
|
||||||
if confDBType == conf.SQLite3DB || confDBType == "" {
|
if confDBType == conf.SQLite3DB || confDBType == "" {
|
||||||
confDBType = conf.SQLiteDB
|
confDBType = conf.SQLiteDB
|
||||||
}
|
}
|
||||||
if confDBType == "mariadb" {
|
if confDBType == conf.MariaDB {
|
||||||
confDBType = conf.MySqlDB
|
confDBType = conf.MySqlDB
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue