CI - without ensure in Program.cs
continuous-integration/drone/push Build is passing Details

pull/10/head
David D'ALMEIDA 1 year ago
parent 084ce29b4e
commit f3a2c23166

@ -19,6 +19,6 @@ var app = builder.Build();
init.Configure(app, app.Environment); init.Configure(app, app.Environment);
var context = app.Services.GetService<HeartTrackContext>() ?? app.Services.GetService<TrainingStubbedContext>(); //var context = app.Services.GetService<HeartTrackContext>() ?? app.Services.GetService<TrainingStubbedContext>();
context!.Database.EnsureCreated(); //context!.Database.EnsureCreated();
app.Run(); app.Run();
Loading…
Cancel
Save