问题
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