Merge pull request #8 from Pup-Ion-Dev/7-move-db-to-a-folder

moved db to folder
This commit is contained in:
Drew Rautenberg
2025-01-12 20:08:08 -06:00
committed by GitHub
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -2,4 +2,6 @@ bin/
obj/
/packages/
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 path = Environment.GetFolderPath(folder);
DbPath = "./app.db";
DbPath = "./database/app.db";
}
// The following configures EF to create a Sqlite database file in the