FEATURE: include user custom fields in base exporter (#14690)

Add user custom fields in base exporter, allows Discourse->Discourse exports to
transfer user custom fields
This commit is contained in:
Jeff Wong 2021-10-22 07:02:56 -10:00 committed by GitHub
parent 689a3711c0
commit 8c17f5b72c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ module ImportExport
:public_admission, :membership_request_template, :messageable_level, :mentionable_level,
:members_visibility_level, :publish_read_state]
USER_ATTRS = [:id, :email, :username, :name, :created_at, :trust_level, :active, :last_emailed_at]
USER_ATTRS = [:id, :email, :username, :name, :created_at, :trust_level, :active, :last_emailed_at, :custom_fields]
TOPIC_ATTRS = [:id, :title, :created_at, :views, :category_id, :closed, :archived, :archetype]