Bugfix: must upgrade schemata before writing to db in backend
This commit is contained in:
+5
-5
@@ -154,14 +154,14 @@ namespace Swarmops.Backend
|
||||
|
||||
Console.WriteLine (" * Swarmops Backend starting");
|
||||
|
||||
BotLog.Write (0, "MainCycle", "Backend STARTING");
|
||||
|
||||
OutboundComm.CreateNotification (null, NotificationResource.System_Startup);
|
||||
|
||||
// Checking for schemata upgrade
|
||||
// Checking for schemata upgrade first of all
|
||||
|
||||
DatabaseMaintenance.UpgradeSchemata();
|
||||
|
||||
BotLog.Write(0, "MainCycle", "Backend STARTING");
|
||||
|
||||
OutboundComm.CreateNotification (null, NotificationResource.System_Startup);
|
||||
|
||||
// Check for existence of installation ID. If not, create one. Warning: has privacy implications when communicated.
|
||||
|
||||
if (Persistence.Key["SwarmopsInstallationId"] == string.Empty)
|
||||
|
||||
Reference in New Issue
Block a user