code first migrations - The operation failed because an index or statistics with name already exists on table EF6.1 -


i used entityframework 6.0.2 , every thing work nice,

but when update entityframewrok 6.1.1 application throw following exception :

the operation failed because index or statistics name exists on table

after 1 hour found solution

i used "add-migration" when entity framework's version 6.0.2 migration structure different in ef 6.1.1 ,

so , delete migrations class , use "add migration" again.

every thing ok now

regards


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -