From 8148c1797ec797a04858d3dc28cabf5aeaab9563 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Tue, 7 May 2019 14:15:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=81=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20190507061235_migrate_exercise_quetsion_score.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 db/migrate/20190507061235_migrate_exercise_quetsion_score.rb diff --git a/db/migrate/20190507061235_migrate_exercise_quetsion_score.rb b/db/migrate/20190507061235_migrate_exercise_quetsion_score.rb new file mode 100644 index 00000000..89a5dff3 --- /dev/null +++ b/db/migrate/20190507061235_migrate_exercise_quetsion_score.rb @@ -0,0 +1,8 @@ +class MigrateExerciseQuetsionScore < ActiveRecord::Migration + def up + change_column :exercise_shixun_challenges, :question_score, :float, default: 0 + end + + def down + end +end