enter image description here
I can’t find exactly where I got the error because I took a break for a while, can you help me?
As I said, when I search for possibilities, I can’t find it exactly. There was no problem when I said addmigration, but after I said update-database, I got an error like this.
2
Answers
First of all, I would like to thank those who supported the comments. I deleted the tables in sql manually. I deleted the c# file by saying remove migration. I compiled the solution and created the migration again and by saying update, the tables were also dropped into the sql. no problem for now. delete and redo in such parts, I think it works :)
It looks like your EF migration is trying to create an already existing table. To fix this error try this: