entity framework - Why does EF want to create indexes after database restore? -
after restoring database 1 server another, automaticmigrationsdisabledexception
ef saying database match current model although match.
so try generate migration vs , contains bunch of createindex
statements there indexes in database. , sure enough, when execute migration, error.
i restored exact same database yet server without problems. however, servers not identical. sql server 2008, have different combinations of sp , kb applied them.
i'm using ef 6.1.
can figure out problem is?
it bug in version 6.1, fixed in 6.1.1 - https://entityframework.codeplex.com/workitem/2167
Comments
Post a Comment