mirror of https://github.com/abpframework/abp.git
2 changed files with 14 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||
using System; |
|||
using System.Linq; |
|||
|
|||
namespace Volo.Abp.Cli.ProjectBuilding.Building.Steps; |
|||
|
|||
public class AppNoLayersMigrateDatabaseChangeStep : ProjectBuildPipelineStep |
|||
{ |
|||
public override void Execute(ProjectBuildContext context) |
|||
{ |
|||
var file = context.Files.FirstOrDefault(file => file.Name.EndsWith("/migrate-database.ps1")); |
|||
file?.SetContent(file.Content.Replace("MyCompanyName.MyProjectName", "MyCompanyName.MyProjectName.Host")); |
|||
} |
|||
} |
|||
Loading…
Reference in new issue