diff --git a/forward_engineering/helpers/columnDefinitionHelper.js b/forward_engineering/helpers/columnDefinitionHelper.js index 6490174..2e6b4ec 100644 --- a/forward_engineering/helpers/columnDefinitionHelper.js +++ b/forward_engineering/helpers/columnDefinitionHelper.js @@ -23,7 +23,7 @@ module.exports = app => { } if (['NUMBER', 'DECIMAL', 'NUMERIC'].includes(type)) { - if (!_.isNaN(columnDefinition.scale) && !_.isNaN(columnDefinition.precision)) { + if (!isNaN(columnDefinition.scale) && !isNaN(columnDefinition.precision)) { resultType = `${type}(${Number(columnDefinition.precision)},${Number(columnDefinition.scale)})`; } }