diff --git a/script/bulk_import/base.rb b/script/bulk_import/base.rb index f8d66f79133..471106d4433 100644 --- a/script/bulk_import/base.rb +++ b/script/bulk_import/base.rb @@ -772,6 +772,14 @@ class BulkImport::Base updated_at multiple_grant query + allow_title + icon + listable + target_posts + enabled + auto_revoke + trigger + show_posts ] USER_BADGE_COLUMNS = %i[badge_id user_id granted_at granted_by_id seq post_id created_at] diff --git a/script/bulk_import/generic_bulk.rb b/script/bulk_import/generic_bulk.rb index 7088eaf6ff8..ee91dd6cef8 100644 --- a/script/bulk_import/generic_bulk.rb +++ b/script/bulk_import/generic_bulk.rb @@ -2344,6 +2344,15 @@ class BulkImport::Generic < BulkImport::Base image_upload_id: row["image_upload_id"] ? upload_id_from_original_id(row["image_upload_id"]) : nil, query: row["query"], + multiple_grant: to_boolean(row["multiple_grant"]), + allow_title: to_boolean(row["allow_title"]), + icon: row["icon"], + listable: to_boolean(row["listable"]), + target_posts: to_boolean(row["target_posts"]), + enabled: to_boolean(row["enabled"]), + auto_revoke: to_boolean(row["auto_revoke"]), + trigger: row["trigger"], + show_posts: to_boolean(row["show_posts"]), } end