 
     indexes           :
       identifier      : 'unique'
+      fields          : 'sparse'
 
     schema            :
 


      meta            : require 'bongo/bundles/meta'

      verified        :
        type          : Boolean
        default       : -> no

      credData.save (err) ->
        return  if failed err, callback

        { identifier }   = credData
        _data            = { provider, title, identifier, originId }

        if provider is 'custom'
          _data.fields   = (Object.keys meta) or []
          _data.verified = yes

        credential = new JCredential _data

        credential.save (err) ->
          return  if failed err, callback, credData
