Enable WAL for increased concurrency, and add additional expectedOutput option for testDisplayTable

This commit is contained in:
David Dworken
2022-04-20 22:13:10 -07:00
parent edfbf7769e
commit 6a18504755
2 changed files with 5 additions and 3 deletions

View File

@ -658,6 +658,7 @@ func OpenLocalSqliteDb() (*gorm.DB, error) {
return nil, err
}
db.AutoMigrate(&data.HistoryEntry{})
db.Exec("PRAGMA journal_mode = WAL")
return db, nil
}