This commit is contained in:
2021-02-11 16:13:47 +00:00
parent 219bae97d3
commit 2d4715f298
3 changed files with 125 additions and 4 deletions

View File

@@ -580,7 +580,13 @@ namespace AyaNova
//Check database integrity
_newLog.LogDebug("DB integrity check");
DbUtil.CheckFingerPrintAsync(AySchema.EXPECTED_COLUMN_COUNT, AySchema.EXPECTED_INDEX_COUNT, _newLog).Wait();
DbUtil.CheckFingerPrintAsync(AySchema.EXPECTED_COLUMN_COUNT,
AySchema.EXPECTED_INDEX_COUNT,
AySchema.EXPECTED_CHECK_CONSTRAINTS,
AySchema.EXPECTED_FOREIGN_KEY_CONSTRAINTS,
AySchema.EXPECTED_VIEWS,
AySchema.EXPECTED_ROUTINES,
_newLog).Wait();
//Initialize license
AyaNova.Core.License.InitializeAsync(apiServerState, dbContext, _newLog).Wait();