mirror of
https://github.com/rmcrackan/Libation.git
synced 2025-12-23 22:17:52 -05:00
Delete LibationContext.db-shm and LibationContext.db-wal files as part of startup routine.
12 lines
370 B
C#
12 lines
370 B
C#
using System.IO;
|
|
|
|
namespace LibationFileManager
|
|
{
|
|
public static class SqliteStorage
|
|
{
|
|
// not customizable. don't move to config
|
|
public static string DatabasePath => Path.Combine(Configuration.Instance.LibationFiles.Location, "LibationContext.db");
|
|
public static string ConnectionString => $"Data Source={DatabasePath};Foreign Keys=False;Pooling=False;";
|
|
}
|
|
}
|