added gem version and migration to fix SQL server index issues