specify @columns even if they are in a relation

This commit is contained in:
francesco.spilla 2021-01-14 14:15:28 +01:00
parent 61a39768fe
commit 74be5631f6

View File

@ -89,7 +89,7 @@ export default function modelCustomizationPhase(
}
namingStrategy.enablePluralization(generationOptions.pluralizeNames);
let retVal = removeIndicesGeneratedByTypeorm(dbModel);
retVal = removeColumnsInRelation(dbModel);
//retVal = removeColumnsInRelation(dbModel);
retVal = applyNamingStrategy(namingStrategy, dbModel);
retVal = addImportsAndGenerationOptions(retVal, generationOptions);
retVal = removeColumnDefaultProperties(retVal, defaultValues);