Naming conventions for Code First migrations

前端 未结 2 833
孤街浪徒
孤街浪徒 2021-02-14 09:37

We are using code first migrations to keep our database and model in sync. At the moment we have the version number as name for the migration which clearly doesn\'t work out. T

2条回答
  •  没有蜡笔的小新
    2021-02-14 10:40

    I have been struggling with the same problem and trying out different solutions. What we have come up with so far is to have all the developers exclude the migrations from the check in process and then have one designated developer do the "release migration" that includes the changes from all the others working on the project.

提交回复
热议问题