fix: set default DatabaseFilePath to "GroundsForSupport.db"
This commit is contained in:
@@ -4,7 +4,7 @@ namespace GroundsForSupport.Server.Data;
|
|||||||
|
|
||||||
internal sealed record ContextOptions
|
internal sealed record ContextOptions
|
||||||
{
|
{
|
||||||
public string DatabaseFilePath { get; init; } = string.Empty;
|
public string DatabaseFilePath { get; init; } = "GroundsForSupport.db";
|
||||||
public string GetFullyQualifiedDatabasePath()
|
public string GetFullyQualifiedDatabasePath()
|
||||||
{
|
{
|
||||||
return Path.GetFullPath(DatabaseFilePath, AppContext.BaseDirectory);
|
return Path.GetFullPath(DatabaseFilePath, AppContext.BaseDirectory);
|
||||||
|
|||||||
Reference in New Issue
Block a user