There is already an object named AspNetRoles in the database. (entity-framework-core)
问题 I have an asp.net core mvc website using entity framework core. I don't know how it initially happened, but I can't get past the error: "There is already an object named AspNetRoles in the database" I ended up deleted the database, deleting all my migration .cs files and starting from scratch. I've then tried add-migration MyInitialMigration same error I then deleted the database again, and tried a direct update-database (without adding a migration) still the same error I tried changing the