Skip to content

Commit

Permalink
Fixed properly applying migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLazarescu committed Dec 30, 2023
1 parent 75a70c0 commit ec3a2ba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Presentation/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
// Initialize the local database if self-hosted
if (builder.Configuration["LIBRUM_SELFHOSTED"] == "true"){
var context = services.GetRequiredService<DataContext>();
context.Database.EnsureCreated();
context.Database.Migrate();
}

Expand Down

0 comments on commit ec3a2ba

Please sign in to comment.