Entity framework manually deleted tables cant be generated from EF migration

前端 未结 4 2068
北恋
北恋 2021-02-20 05:26

I have created migration and created the database and the tables . For example the tables are

A B C D E . Now again I have changed some part of code and ra

4条回答
  •  猫巷女王i
    2021-02-20 06:13

    you can do a simple trick here, remove the specific migration history rows, which affect your deleted tables from __EFMigrationsHistory then run update-database command, enjoy

提交回复
热议问题