Updated program
This commit is contained in:
@@ -59,6 +59,10 @@ using (var scope = app.Services.CreateScope())
|
|||||||
{
|
{
|
||||||
db.Database.Migrate();
|
db.Database.Migrate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DbInitializer.Initialize(db);
|
||||||
|
|
||||||
|
Console.WriteLine("--> Database Seeded Successfully!");
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user