V
V
Victoria Kabishova2020-12-09 09:46:24
ASP.NET
Victoria Kabishova, 2020-12-09 09:46:24

How to fix migration errors?

I am making a website for crowdfunding companies. I am making it with ASP.NET Core Razor Pages and am having trouble with the migration. I solved some problems, but I got stuck on the last problem. I created the necessary migration, registered the necessary context,
5fd070f67bf8d236188385.png
5fd0712d1a8c9418139267.png
started adding new fields, everything seemed to be added,
5fd07173399aa044945278.png
5fd0717ea6bfc237767620.png
and when I had to save all this, I had a lot of errors and I don’t know how to fix them.
5fd0729bc7304403919581.png
And one more question: is it supposed to be like this?
5fd0701207833941035749.png

Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2020-12-09
@Parsifal31017

Everything seems to be written. No table found for Company.
Check that you have the required connection string and previous migrations went well

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question