Allowed to choose integer/smallint fields in relation target entity

See this for a brief background: http://www.orocrm.com/forums/topic/custom-entity-relations