притушил пока тесты в CI, поправил некоторые вещи для запуска апи, миграцию создал какую-то
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
@@ -29,7 +29,8 @@ public class Program
|
||||
using var scope = app.Services.CreateScope();
|
||||
await using var context = scope.ServiceProvider.GetRequiredService<DatabaseContext>();
|
||||
await context.Database.MigrateAsync();
|
||||
Environment.Exit(0);
|
||||
// Environment.Exit(0);
|
||||
Console.WriteLine("Migrations applied!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user