fixes #1550 : Test existance before removing index and column.
In case where reference_id exist, but domain_id, hostgroup_id, domain_id don't, migration should'nt fail
fixes #1550 : Test existance before removing index and column.
In case where reference_id exist, but domain_id, hostgroup_id, domain_id don't, migration should'nt fail