convert from activerecord to Fields::Schema