AERGO-531 and AERGO-532 - fix reliable column fix me with a trigger since postgres does not have computed columns.