Skip to content

Commit 20afa58

Browse files
committed
RE: fixed NULL in model properties
1 parent d6783d4 commit 20afa58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reverse_engineering/helpers/postgresService.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,12 @@ module.exports = {
130130
const encoding = (await db.queryTolerant(queryConstants.GET_DB_ENCODING, [], true))?.server_encoding;
131131
const LC_COLLATE = (await db.queryTolerant(queryConstants.GET_DB_COLLATE_NAME, [], true))?.default_collate_name;
132132

133-
return {
133+
return clearEmptyPropertiesInObject({
134134
database_name,
135135
encoding,
136136
LC_COLLATE,
137137
LC_CTYPE: LC_COLLATE,
138-
};
138+
});
139139
},
140140

141141
async retrieveEntitiesData(schemaName, entitiesNames, recordSamplingSettings) {

0 commit comments

Comments
 (0)