fixed 'double' to 'float' in migration script