mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Enable automatic database migration.
This commit is contained in:
@@ -43,7 +43,7 @@ namespace DiscImageChef.Database
|
|||||||
|
|
||||||
public DicContext()
|
public DicContext()
|
||||||
{
|
{
|
||||||
Database.EnsureCreated();
|
Database.Migrate();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||||
|
|||||||
Reference in New Issue
Block a user