Perhaps the index-name shouldn’t be that static. I didn’t have time to test this, but does this work with more than one index definition per table?