Use the configuration depending on the selected database provider #13
@ -6,6 +6,6 @@ public static class DbInitializer
|
|||||||
{
|
{
|
||||||
public static void Initialize(DbContext dbContext)
|
public static void Initialize(DbContext dbContext)
|
||||||
{
|
{
|
||||||
dbContext.Database.EnsureCreated();
|
dbContext.Database.Migrate();
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user