#837 - ENH: Support using @HistoryExclude on normal properties (other than @ManyToMany)

This commit is contained in:
Rob Bygrave
2016-10-31 21:57:16 +13:00
parent cd62686337
commit 920fa73d11
3 changed files with 36 additions and 7 deletions
@@ -236,6 +236,7 @@ public class ModelBuildPropertyVisitor extends BaseTablePropertyVisitor {
col.setDefaultValue(p.getDbColumnDefault());
col.setComment(p.getDbComment());
col.setDraftOnly(p.isDraftOnly());
col.setHistoryExclude(p.isExcludedFromHistory());
if (p.isId()) {
col.setPrimaryKey(true);