private static void RunMigration() { try { var migrationManager = new MigrationManager(OpenConnection()); migrationManager.Apply(); } catch (Exception e) { Log.Logger.Error(e, "RunMigration failed!"); throw; } }
private static void RunMigrations() { var migrationManager = new MigrationManager(ApplicationManager.OpenConnection()); migrationManager.Apply(); }