fix(database): add trigger to copy  specific family properties in values

report from #4502