This commit is contained in:
@@ -24,7 +24,7 @@ public class Program
|
||||
|
||||
private static async Task HandleMigrationKey(string[] args, WebApplication app)
|
||||
{
|
||||
if (args.Contains(MigrationKey))
|
||||
if (true)
|
||||
{
|
||||
using var scope = app.Services.CreateScope();
|
||||
await using var context = scope.ServiceProvider.GetRequiredService<DatabaseContext>();
|
||||
|
||||
Reference in New Issue
Block a user