During the data migration from Magento 1.9.0 c.e. to Magento 2.1.5 e.e. I get the following warning :
- Mismatch of data types. Source document: salesrule. Fields: discount_step (float unsigned)
- Mismatch of data types. Destination document: salesrule. Fields: discount_step (int(10) unsigned [0])
I put in brackets the type of value which is in the DB schema. How can I convert the float value into a int value during the migration?
I saw the <transform> tag in the xml files, but I didn't really get how should I use it.