There is already an object named ‘AspNetRoles’ in the database
Add-Migration InitialMigrations -IgnoreChanges This should generate a blank “InitialMigration” file. Now, add any desired changes to the class you want. Once changes are added, run the update command again: update-database -verbose Now the automatic migration will be applied and the table will be altered with your changes. Edit: Here is a solution to migrate identity … Read more