Helllo Team ,
I am Creating Application Using Asp core with Code-first Approach.
I have Created 2 models like -User, Department then I did migration and that was successfully migrated at very first time, but after that when I create a new model like :-Category and want to migrate then I am getting the error below issue.
"There is already an object named 'TableName' in the database."
It's coming if I do migration again and again when I add New model
dotnet ef database update
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)