This commit is contained in:
2020-01-27 22:17:05 +00:00
parent 3e608c1908
commit 0d6fa8a072
3 changed files with 18 additions and 16 deletions

View File

@@ -422,7 +422,7 @@ namespace AyaNova
if (ServerBootConfig.AYANOVA_PERMANENTLY_ERASE_DATABASE)
{
_newLog.LogWarning("BOOT: AYANOVA_PERMANENTLY_ERASE_DATABASE is true, dropping and recreating database");
Util.DbUtil.DropAndRecreateDb(_newLog);
Util.DbUtil.DropAndRecreateDbAsync(_newLog);
AySchema.CheckAndUpdate(dbContext, _newLog);
}