mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-10-23 14:09:03 -04:00
sqlite db file should live in LibationFiles dir, not in app dir
This commit is contained in:
1 parent
65dc273e12
commit
bcc237c693
17 files changed
+150
-120
No files matched your search
@@ -0,0 +1,11 @@
|
||||
using System.IO;
|
||||
|
||||
namespace FileManager
|
||||
{
|
||||
public static class SqliteStorage
|
||||
{
|
||||
// not customizable. don't move to config
|
||||
private static string databasePath => Path.Combine(Configuration.Instance.LibationFiles, "LibationContext.db");
|
||||
public static string ConnectionString => $"Data Source={databasePath};Foreign Keys=False;";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user