迁移文件调整

dev_local
cxt 6 years ago
parent 74ebb896a1
commit 92f032e737

@ -1,6 +1,6 @@
class MigrateExerciseUserQuestions < ActiveRecord::Migration
def up
exercises = Exercise.where("id > 900")
exercises = Exercise.where("id > 1000")
exercises.each do |exercise|
if exercise.exercise_level_settings.where("num != exercise_questions_count").size > 0

Loading…
Cancel
Save