Home Documentation Download Pricing Buy Now

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

+1 vote

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.

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

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

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.

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

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

1 Answer

+1 vote
 
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

answered Jan 21, 2013 by ludek.vodicka Skipper developer (140,530 points)
selected Jul 30, 2014 by Martin Freki Stradej
...