code: function() {
      this._super.apply(this, arguments);
  
      if (this._options.through) {
        this._options.through = inflection.singularize(this._options.through);
      }
    }
docs: Create a HasOne relation.
  
  @protected
  @constructor HasOne
  @see {@link Database#hasOne}