[Solved] Removing a entity field should remove any indexes pointing to it

+1 vote
asked Jan 20, 2013 in Solved by Manifest Interactive (1,090 points)
recategorized Jan 21, 2013 by ludek.vodicka

If you remove a field from an entity, any indexes you created using that field will still be lingering. I believe this is also the case if you change the name of of a field, the index will not get updated.

Having this invalid index creates a problem, especially when generating tables.

commented Jan 21, 2013 by jwagner (3,630 points)

This would be great. The current workaround is to always delete the association, that removes the field automatically.

commented Jan 21, 2013 by ludek.vodicka Skipper developer (140,450 points)

Ok, we will add a logic that removes also associations / indexes if removed field will be the last field in association / index. If index will be defined for more than one field, field will be removed from index, but index will not be removed.

commented Jan 21, 2013 by ludek.vodicka Skipper developer (140,450 points)

It was pretty easy, so this feature will be available in the next release.

commented Jan 21, 2013 by jwagner (3,630 points)

I would upvote this answer, but it's a comment. ;)

1 Answer

+1 vote
answered Jan 21, 2013 by ludek.vodicka Skipper developer (140,450 points)
selected Jul 30, 2014 by Martin Freki Stradej
 
Best answer

This issue was fixed in latest version 2.1.7.680. You can download this version here http://support.orm-designer.com/31/download-orm-designer2-here

...