diff --git a/Program.cs b/Program.cs index f9df32b..905bd96 100644 --- a/Program.cs +++ b/Program.cs @@ -37,6 +37,7 @@ namespace Test01 if (!string.IsNullOrEmpty(enableMigration)) { MigrationData.EnsureMigration(host.Services); + return; } var enableSeedApplicationDb = Convert.ToBoolean(config.GetSection("EnableSeedApplicationDb").Value);