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

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -