change double type to float type in migration because double type does't exist.