Lose EF Code First Migration when working on different TFS branches?

前端 未结 3 1344
攒了一身酷
攒了一身酷 2020-12-23 09:44

We are using TFS and have different branches for our Dev.

  1. in the branch A we made a migration to change a column size

  2. in the branch B we mad

3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-23 10:38

    With EF core, the current state of the model is kept in ***ModelSnapshot.cs. It is normally merged so you don't have anything to do... unless there is a conflict.

提交回复
热议问题