chore: revert 61714e3d9e
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
* didn't work out so well, builds fine but refuses to run, stashing the idea for another time
This commit is contained in:
parent
61714e3d9e
commit
83379ec335
@ -8,7 +8,7 @@ namespace pwt0x01ng.Models.Database
|
||||
public static class DBInit
|
||||
{
|
||||
|
||||
public async static void Init(DBContext dbContext)
|
||||
public static void Init(DBContext dbContext)
|
||||
{
|
||||
if (dbContext.Database.EnsureCreated())
|
||||
{
|
||||
@ -17,7 +17,7 @@ namespace pwt0x01ng.Models.Database
|
||||
{
|
||||
dbContext.Carousel.Add(c);
|
||||
}
|
||||
await dbContext.SaveChangesAsync();
|
||||
dbContext.SaveChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user