From 3cb974f27a6d58cf902d0705abcf18393cebf2be Mon Sep 17 00:00:00 2001 From: Serhii Filonenko Date: Thu, 27 Feb 2025 17:56:52 +0200 Subject: [PATCH] HCK-10207: set default value for name property --- forward_engineering/helpers/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forward_engineering/helpers/utils.js b/forward_engineering/helpers/utils.js index 96dbec3..c0256a6 100644 --- a/forward_engineering/helpers/utils.js +++ b/forward_engineering/helpers/utils.js @@ -313,7 +313,7 @@ const getColumnSchema = * @returns {string} */ const decorateType = ({ type, columnDefinition }) => { - const deps = { assignTemplates: (__, { name, type }) => name + type, tab: value => value, templates: {} }; + const deps = { assignTemplates: (__, { name = '', type }) => name + type, tab: value => value, templates: {} }; const dataType = getColumnSchema(deps)({ name: '', type,