Skip to content

Commit 0e09565

Browse files
Revert "fix: hydrate column JSON schema to resolve types (#67)" (#68)
This reverts commit 463564b.
1 parent 463564b commit 0e09565

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

forward_engineering/ddlProvider.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,14 +1120,5 @@ module.exports = (baseProvider, options, app) => {
11201120
this.createView(alterData, dbData, true),
11211121
].join('\n\n');
11221122
},
1123-
1124-
hydrateJsonSchemaColumn(jsonSchema, definitionJsonSchema) {
1125-
if (!jsonSchema.$ref || _.isEmpty(definitionJsonSchema)) {
1126-
return jsonSchema;
1127-
}
1128-
1129-
jsonSchema = _.omit(jsonSchema, '$ref');
1130-
return { ...definitionJsonSchema, ...jsonSchema };
1131-
},
11321123
});
11331124
};

0 commit comments

Comments
 (0)