Entity framework manually deleted tables cant be generated from EF migration

前端 未结 4 2063
北恋
北恋 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条回答
  •  日久生厌
    2021-02-20 05:55

    EF Migration history is stored in the table _MigrationHistory. Remove the table from the Database. Caution: This will erase all the Migration history and you will have to re-create all the tables

提交回复
热议问题