mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-17 18:31:43 +02:00
Enable WAL for increased concurrency, and add additional expectedOutput option for testDisplayTable
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user