From 739f59b0043e546a3eeb7b859260caefe30f3efb Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Mon, 5 Aug 2019 16:34:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20190805010545_modify_ke_contents_for_markdown.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/db/migrate/20190805010545_modify_ke_contents_for_markdown.rb b/db/migrate/20190805010545_modify_ke_contents_for_markdown.rb index 67b57b215..4b66add63 100644 --- a/db/migrate/20190805010545_modify_ke_contents_for_markdown.rb +++ b/db/migrate/20190805010545_modify_ke_contents_for_markdown.rb @@ -14,13 +14,6 @@ class ModifyKeContentsForMarkdown < ActiveRecord::Migration[5.2] # m.update_column(:content, content) # end # - # # 试卷的描述 - # Exercise.find_each do |e| - # exercise_description = ke_transform_to_md e.exercise_description - # puts("#exercise_description: #{exercise_description}") - # e.update_column(:exercise_description, exercise_description) - # end - # # # 试卷的标题 # ExerciseQuestion.find_each do |eq| # question_title = ke_transform_to_md eq.question_title