mirror of
https://github.com/C9Glax/tranga.git
synced 2025-07-01 08:24:17 +02:00
Add TODO to remove migrations after some time
This commit is contained in:
@ -109,6 +109,7 @@ app.UseMiddleware<RequestTimeMiddleware>();
|
||||
using (IServiceScope scope = app.Services.CreateScope())
|
||||
{
|
||||
PgsqlContext context = scope.ServiceProvider.GetRequiredService<PgsqlContext>();
|
||||
//TODO Remove after migrations complete
|
||||
if (context.Database.GetMigrations().Contains("20250630182650_OofV2.1") == false)
|
||||
{
|
||||
IQueryable<(string, string)> mangas = context.Database.SqlQuery<(string, string)>($"SELECT MangaConnectorName, IdOnConnectorSite as ID FROM Mangas");
|
||||
|
Reference in New Issue
Block a user