mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-30 06:56:10 +00:00
Ok :)
This commit is contained in:
parent
63a9e8c39d
commit
c85727686c
1 changed files with 1 additions and 1 deletions
|
|
@ -382,7 +382,7 @@ namespace AideDeJeu.ViewModels
|
||||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||||
{
|
{
|
||||||
var dbPath = DependencyService.Get<INativeAPI>().GetDatabasePath("database.db");
|
var dbPath = DependencyService.Get<INativeAPI>().GetDatabasePath("database.db");
|
||||||
optionsBuilder.UseSqlite($"Data Source=\"{dbPath}\"");
|
optionsBuilder.UseSqlite($"Data Source='{dbPath}'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue