Skip to content

Commit cee595f

Browse files
author
DrMyroslav
committed
fix alter script with external definitions
1 parent f7d0f6b commit cee595f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forward_engineering/helpers/updateHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ const handleProperties = ({ generator, tableProperties, udtMap, itemCompModData,
382382
if (generator.name !== 'getUpdate' && (property.compositePartitionKey || property.compositeClusteringKey)) {
383383
return alterTableScript;
384384
}
385-
const columnType = getTypeByData(property, udtMap, columnName);
385+
let columnType = getTypeByData(property, udtMap, columnName);
386386

387387
if (property.$ref && !columnType) {
388388
columnType = _.last(property.$ref.split('/'));

0 commit comments

Comments
 (0)