dev_sync_trustie
caishi 5 years ago
parent a67a9edfb0
commit 6ad8baa74a

@ -423,4 +423,4 @@ RUBY VERSION
ruby 2.3.7p456
BUNDLED WITH
1.17.3
2.0.2

@ -1,6 +1,6 @@
class AddIsInvalidToStudentWorksScores < ActiveRecord::Migration[5.2]
def change
# add_column :student_works_scores, :is_invalid, :boolean, default: false
add_column :student_works_scores, :is_invalid, :boolean, default: false
StudentWorksScore.where("score is not null").order("id desc").find_each do |score|
unless score.is_invalid

Loading…
Cancel
Save