issue 3297 

Migration that modifies indexes per issue 3297, adding a composite index on work-id / position and remove a duplicate work_id index