Skip to content

Commit 37ed3ec

Browse files
HCK-14039: fix regression issue (#145)
1 parent 39514a4 commit 37ed3ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

forward_engineering/helpers/columnHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const getMap = getTypeByProperty => property => {
140140
const getText = property => {
141141
const mode = property.mode;
142142

143-
if (['char', 'varchar'].includes(mode)) {
143+
if (!['char', 'varchar'].includes(mode)) {
144144
return 'string';
145145
} else if (property.maxLength) {
146146
return mode + `(${property.maxLength})`;

0 commit comments

Comments
 (0)