add ForeignKey and set specified name settings by entity type config