EF migration shows empty Up() Down() methods

后端 未结 17 2438
花落未央
花落未央 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:08

    To me the problem was that Id property that should correspond to table id was named FeedbackId. I changed to "Id" and then Up/Down weren't empty anymore. Dunno if that can help somehow

提交回复
热议问题