Anye
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
0 deletions
-
application/migrator/model/init.go
|
|
@ -28,6 +28,11 @@ func Init() error { |
|
|
|
if confDBType == "sqlite3" { |
|
|
|
confDBType = "sqlite" |
|
|
|
} |
|
|
|
|
|
|
|
// 兼容 "mariadb" 数据库
|
|
|
|
if confDBType == "mariadb" { |
|
|
|
confDBType = "mysql" |
|
|
|
} |
|
|
|
|
|
|
|
switch confDBType { |
|
|
|
case "UNSET", "sqlite": |
|
|
|