When I started a new EF Core project and wanner to create a new database, I made a mistake that wrote a wrong database name in connection string. Then I ran add-migration
and update-database
. And then I found the migration had applied to an existing database.
I attempted to revert this apply. But it's the first migration script of project. I don't know how to revert.
I would appreciate it if you could give me any suggestions.