I found this article:
https://github.com/dotnet/efcore/issues/35285
I had the same issue and adding:
options.ConfigureWarnings(w => w.Ignore(RelationalEventId.PendingModelChangesWarning))
resolved my issue.