Relay done but not working

This commit is contained in:
JustSong committed 2023-04-23 18:24:11 +08:00
1 parent 28e8e89e28
commit 12aa6c352b
12 files changed
+225 -70

No files matched your search

+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
})