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

后端 未结 4 1016
予麋鹿
予麋鹿 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:14

    Just delete the initial migration files from the 'Migrations' folder and retry.

提交回复
热议问题