Skip to content

Commit

Permalink
Remove redundant code that's no longer required thanks to the EF Core…
Browse files Browse the repository at this point in the history
… 3.0 update
  • Loading branch information
MarcusWichelmann committed Oct 13, 2019
1 parent 0d754e0 commit 73bc4f2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Nesteo.Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,5 @@ public static async Task Main(string[] args)

public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args).ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup<Startup>(); });

// TODO: Required for the Entity Framework Core 2.X migration tool. This should be removed as soon as we can upgrade to EF core 3.0
// See https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/issues/797
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args).UseStartup<Startup>();
}
}

0 comments on commit 73bc4f2

Please sign in to comment.