Relay done but not working

This commit is contained in:
JustSong
2023-04-23 18:24:11 +08:00
parent 28e8e89e28
commit 12aa6c352b
12 changed files with 225 additions and 70 deletions
+1
View File
@@ -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
})