diff --git a/app/controllers/initialization_data_controller.rb b/app/controllers/initialization_data_controller.rb index dae88e904..3c47178db 100644 --- a/app/controllers/initialization_data_controller.rb +++ b/app/controllers/initialization_data_controller.rb @@ -304,7 +304,7 @@ class InitializationDataController < ApplicationController # 创建测试集数据 def copy_test_sets_data - set_attrs = %i[id input output challenge_id is_public result position score created_at updated_at] + set_attrs = %i[id input output challenge_id is_public result position score match_rule created_at updated_at] TestSet.bulk_insert(*set_attrs) do |worker| @test_sets.each do |set| base_attr = set.attributes.dup