mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-17 16:43:54 +00:00
Relay done but not working
This commit is contained in:
@@ -45,6 +45,7 @@ func InitDB() (err error) {
|
||||
})
|
||||
} else {
|
||||
// Use SQLite
|
||||
common.UsingSQLite = true
|
||||
db, err = gorm.Open(sqlite.Open(common.SQLitePath), &gorm.Config{
|
||||
PrepareStmt: true, // precompile SQL
|
||||
})
|
||||
|
Reference in New Issue
Block a user