When using sequelize to import with the DB objects created by the export the decimal would default to DECIMAL(10,0) and have no precision for decimal places. This will fix the export of the decimal object to export DECIMAL(9,2) rather than just DECIMAL. DECIMAL(9,2) is just an example of the use case required for precision.
When using sequelize to import with the DB objects created by the export the decimal would default to DECIMAL(10,0) and have no precision for decimal places. This will fix the export of the decimal object to export DECIMAL(9,2) rather than just DECIMAL. DECIMAL(9,2) is just an example of the use case required for precision.