add external fields to repository (not saved in table by loaded from data array), add default adapter closure in configs