createCustomFields(wekanCustomFields, boardId) {
    wekanCustomFields.forEach((field, fieldIndex) => {
      const fieldToCreate = {
        boardIds: [boardId],
        name: field.name,
        type: field.type,
        settings: field.settings,
        showOnCard: field.showOnCard,
        showLabelOnMiniCard: field.showLabelOnMiniCard,
        automaticallyOnCard: field.automaticallyOnCard,
        alwaysOnCard: field.alwaysOnCard,
        //use date "now" if now created at date is provided (e.g. for very old boards)
        createdAt: this._now(this.createdAt.customFields[field._id]),
        modifiedAt: field.modifiedAt,
      };
      //insert copy of custom field
      const fieldId = CustomFields.direct.insert(fieldToCreate);
      //set modified date to now
      CustomFields.direct.update(fieldId, {
        $set: {
          modifiedAt: this._now(),
        },
      });
      //store mapping of old id to new id
      this.customFields[field._id] = fieldId;
    });
  }
Create the Wekan custom fields corresponding to the supplied Wekan
custom fields.
@param wekanCustomFields
@param boardId