EF migration shows empty Up() Down() methods

后端 未结 17 2431
花落未央
花落未央 2020-12-25 09:56

I have a local database that is currently in it\'s second version and should now go to it\'s third version.

The code for the previous migrations was generated by ano

17条回答
  •  孤独总比滥情好
    2020-12-25 10:07

    If your project is small, i.e. you do not have too many migrations yet, you can delete all from your Migration folder. After that, add the migrations again.

提交回复
热议问题