✅ I can't do migrations now...
when I do
add-migration nullableForeignsOnPublicacao
I get:
So I tried Enable-Migrations
, right? I got:
Which I partially understand cause it wants a class inherint fro DbContext, but my context inherits from IdentityDbContext
. What should I do?8 Replies
I mean what have you tried? It suggests that you prefix your command.
ChatGpt told me to do
to remove ambiguity of which version of EFCore to use
And it worked
It's literally in the message returned
pff, lol, yeah I just automatically don't read error messages
I'll try to start reading them, then
It's worth reading error messages. They frequently include useful information 🤣
no bully
if you're happy with your answer and solution $close ¯\_(ツ)_/¯
Use the /close command to mark a forum thread as answered