Handle db models which don't support inheritance