Add comment to DbContext about where the database file is created.

This commit is contained in:
Kevin Matsubara 2025-04-04 17:58:59 +02:00
parent 5b3c661b67
commit 451fb50cd8

View File

@ -9,6 +9,7 @@ public class DeadBallZoneLeagueDbContext : DbContext
private string DbPath;
public DeadBallZoneLeagueDbContext()
{
// In Ubuntu 24.04, the file is created here: /home/user/.local/share
var folder = Environment.SpecialFolder.LocalApplicationData;
var path = Environment.GetFolderPath(folder);
DbPath = Path.Combine(path, "DeadBallZoneLeague_EFCore.db");