Skip to content

Commit

Permalink
Fix bug#238 in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
naderjavid committed Jun 26, 2024
1 parent a4db808 commit a11f029
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ public static IActivityBuilder AddMigrationAndUpdateDatabaseWorkflow(this IOutco
.AddConfigureMigrationProjectsWorkflow(ActivityNames.AddMigration)
/* Add migration */
.Then<RunCommandStep>(
step => step.Command = new JavaScriptExpression<string>("`dotnet ef migrations add Added${EntityInfo.Name} -p \"${MigrationProjectFile}\" -s \"${StartupProjectFile}\"`")
step => step.Command = new JavaScriptExpression<string>("`dotnet ef migrations add Added${EntityInfo.Name} -p \"${MigrationProjectFile}\"`")
).WithName(ActivityNames.AddMigration)
/* Update database */
.Then<RunCommandStep>(
step => step.Command = new JavaScriptExpression<string>("`dotnet ef database update -p \"${MigrationProjectFile}\" -s \"${StartupProjectFile}\"`")
step => step.Command = new JavaScriptExpression<string>("`dotnet ef database update -p \"${MigrationProjectFile}\"`")
)
;
}
Expand Down

0 comments on commit a11f029

Please sign in to comment.