Entity framework , many changes missing after applying all migrations successfully,

给你一囗甜甜゛ 提交于 2020-01-17 06:38:08

问题


get-migrations shows full list of all my migrations but only half of them is in the _MigrationHistory and the database has changes from these half of them. No errors , all migrations applied successfully.

issue comes while applying migrations having int to float changes were i had to manually add Sql("ALTER TABLE xxx DROP CONSTRAINT DF__TBL_OPRTN__OPRTN__6497E884"); .

Is there any possible reason for these kind of behaviour from ef , any way to debug this?

thanks

来源:https://stackoverflow.com/questions/44229182/entity-framework-many-changes-missing-after-applying-all-migrations-successful

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!