This commit is contained in:
@@ -423,12 +423,12 @@ namespace AyaNova
|
||||
{
|
||||
_newLog.LogWarning("BOOT: AYANOVA_PERMANENTLY_ERASE_DATABASE is true, dropping and recreating database");
|
||||
Util.DbUtil.DropAndRecreateDbAsync(_newLog);
|
||||
AySchema.CheckAndUpdate(dbContext, _newLog);
|
||||
AySchema.CheckAndUpdateAsync(dbContext, _newLog);
|
||||
}
|
||||
|
||||
//Check schema
|
||||
_newLog.LogDebug("BOOT: db schema check");
|
||||
AySchema.CheckAndUpdate(dbContext, _newLog);
|
||||
AySchema.CheckAndUpdateAsync(dbContext, _newLog);
|
||||
|
||||
//Check database integrity
|
||||
_newLog.LogDebug("BOOT: db integrity check");
|
||||
|
||||
Reference in New Issue
Block a user