Fixing PHPMD suggestions.
Adding drop index, drop constraint.