How to re-create initial migration on the same .cs file

后端 未结 4 1018
予麋鹿
予麋鹿 2021-02-13 23:29

As common in EF Code First I\'ve generated an \"Initial Create\" migration file where is located an outdated model of my db (I\'m developing the app so the model is still changi

4条回答
  •  滥情空心
    2021-02-14 00:17

    Try updating your database by writing Update-Database in Package Manager Console instead.

提交回复
热议问题