C#C
C#16mo ago
IcEiE

Entity Framework Core Migration to Supabase Hangs Indefinitely

I'm trying to apply an Entity Framework Core migration to a Supabase PostgreSQL database, but the process hangs indefinitely. Here are the key details:

  • Using .NET 8 and EF Core 8.0.8
  • Initial database connection succeeds (confirmed by console output)
  • dotnet ef database update command never completes
  • No error messages or exceptions are thrown
  • Command timeout is set to 500 seconds in both connection string and DbContext configuration
  • No logs found in supabase to indicate the migration has reached the db
I've verified the connection works, as the application prints "Successfully connected to the database" on startup. However, when trying to apply the migration, it simply hangs without any progress or error messages.

Has anyone encountered this issue with Supabase? Any suggestions for troubleshooting or resolving this problem would be greatly appreciated.
image.png
Was this page helpful?