From 314700aa8e8d213a5c86e7886bd4c80829f71a49 Mon Sep 17 00:00:00 2001 From: glax Date: Mon, 30 Jun 2025 22:05:49 +0200 Subject: [PATCH] Add TODO to remove migrations after some time --- API/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/API/Program.cs b/API/Program.cs index 75b5038..7a9553f 100644 --- a/API/Program.cs +++ b/API/Program.cs @@ -109,6 +109,7 @@ app.UseMiddleware(); using (IServiceScope scope = app.Services.CreateScope()) { PgsqlContext context = scope.ServiceProvider.GetRequiredService(); + //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");