added index support to migrations. Fixes #43