Added some debugging code for db upgrades

This commit is contained in:
Rick Falkvinge
2015-11-20 11:46:14 +01:00
parent a357441f65
commit cb9bb7ba6b
2 changed files with 18 additions and 4 deletions
+4 -4
View File
@@ -25,6 +25,10 @@ namespace Swarmops.Backend
private static void Main (string[] args)
{
// Checking for schemata upgrade first of all
DatabaseMaintenance.UpgradeSchemata();
testMode = false;
UnixSignal[] killSignals = null;
@@ -154,10 +158,6 @@ namespace Swarmops.Backend
Console.WriteLine (" * Swarmops Backend starting");
// Checking for schemata upgrade first of all
DatabaseMaintenance.UpgradeSchemata();
BotLog.Write(0, "MainCycle", "Backend STARTING");
OutboundComm.CreateNotification (null, NotificationResource.System_Startup);