[TECHNICAL-SUPPORT] LPS-28184 Redeploy of custom plugin using ServiceBuilder does not re-create database indexes after tables upgrade

Hey Manuel,

I've got this PR from @laszlocsontos. I've found it ok based on source format ant manual testing. Please review it forward it if you find it OK.

Thanks,
Vilmos