Entity Framework 5 expects CreatedOn column from MigrationHistory table

前端 未结 5 1337
故里飘歌
故里飘歌 2021-01-03 23:41

I am migrating an MVC 3 application from EF 4.3 to EF 5. I noticed that EF 5 expects a CreatedOn column in the __MigrationHistory table, which does

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-04 00:03

    The CreatedOn column is no longer required. We attempt to query from it in order to determine whether we need to drop it. i.e. You are upgrading from 4.3 to 5.

提交回复
热议问题