adding fix to migration for datatype conversion