This commit is contained in:
@@ -147,6 +147,7 @@ namespace AyaNova
|
||||
_newLog.LogInformation("Connected to database server - {0}", DbUtil.DisplayableConnectionString);
|
||||
|
||||
|
||||
|
||||
//ensure database is ready and present
|
||||
DbUtil.EnsureDatabaseExists(_newLog);
|
||||
|
||||
@@ -572,6 +573,10 @@ namespace AyaNova
|
||||
AySchema.CheckAndUpdateAsync(dbContext, _newLog).Wait();
|
||||
}
|
||||
|
||||
|
||||
//Log server version
|
||||
_newLog.LogInformation("Database server version - {0}", DbUtil.DBServerVersion(dbContext));
|
||||
|
||||
//Check schema
|
||||
_newLog.LogDebug("DB schema check");
|
||||
AySchema.CheckAndUpdateAsync(dbContext, _newLog).Wait();
|
||||
|
||||
Reference in New Issue
Block a user