I created a migration and created a database and tables. For example, tables
ABCDE . Now I again changed a part of the code and ran the update-database command. Everything went smoothly and beautifully, and the tables had columns. Now, by chance, I manually deleted two D and E tables. Now when I try to migrate using update-database . It works correctly, but does not create tables that I deleted manually. I tried to delete the existing migration and re-run update-database . This gives an error other than two tables. There already exists an object existing in the name "A, B, C" bla bla.
Any idea how to get rid of this situation without dropping the database and re-creating deleted tables using migration? Cause. I do not want to delete the database, because it contains data in the rest of the tables. How to act in this situation, when I have existing tables in the database, and by chance I manually deleted several tables from the SQL server from SSMS.
How to create tables again using hyphenation?
Oh my version of entity frame 6.0.2
source share