moved db to folder

This commit is contained in:
2025-01-12 20:05:30 -06:00
parent b53014627b
commit c6a54ee2e1
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -3,3 +3,5 @@ obj/
/packages/ /packages/
riderModule.iml riderModule.iml
/_ReSharper.Caches/ /_ReSharper.Caches/
**/app.db*
**/.idea
+1 -1
View File
@@ -12,7 +12,7 @@ public class BarkContext : DbContext
{ {
var folder = Environment.SpecialFolder.LocalApplicationData; var folder = Environment.SpecialFolder.LocalApplicationData;
var path = Environment.GetFolderPath(folder); var path = Environment.GetFolderPath(folder);
DbPath = "./app.db"; DbPath = "./database/app.db";
} }
// The following configures EF to create a Sqlite database file in the // The following configures EF to create a Sqlite database file in the