Update client.go

pull/2587/head
Anye 2025-06-30 11:16:10 +08:00 committed by GitHub
parent 3366e89901
commit 3458d5a6e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ func NewRawEntClient(l logging.Logger, config conf.ConfigProvider) (*ent.Client,
if confDBType == conf.SQLite3DB || confDBType == "" {
confDBType = conf.SQLiteDB
}
if confDBType == "mariadb" {
if confDBType == conf.MariaDB {
confDBType = conf.MySqlDB
}