Exit process if migration is execute (for sidecar deployment)

This commit is contained in:
Khajonpot
2020-02-20 21:35:33 +07:00
parent 90b4d129f9
commit e4f3417bef

View File

@@ -37,6 +37,7 @@ namespace Test01
if (!string.IsNullOrEmpty(enableMigration))
{
MigrationData.EnsureMigration(host.Services);
return;
}
var enableSeedApplicationDb = Convert.ToBoolean(config.GetSection("EnableSeedApplicationDb").Value);