fixed error in migration skript