Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Valentin9003/AJS
Browse files Browse the repository at this point in the history
# Conflicts:
#	AJS.Web/Infrastructure/Extensions/ApplicationBuilderExtensions.cs
  • Loading branch information
Valentin authored and Valentin committed Feb 16, 2020
2 parents 75d05d7 + 898cc6b commit 5822e04
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public static IApplicationBuilder UseDatabaseMigration(this IApplicationBuilder
using (var serviceScope = app.ApplicationServices.GetRequiredService<IServiceScopeFactory>().CreateScope())
{
var context = serviceScope.ServiceProvider.GetService<AJSDbContext>();

context.Database.Migrate();
context.Database.EnsureCreated();
}
Expand Down

0 comments on commit 5822e04

Please sign in to comment.