fixing error while generating .sql migrations with indexes modifications. fixes #15