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