#1689修改部分学生匿评得分大于5分

This commit is contained in:
sw 2014-12-10 15:04:35 +08:00
parent 410d61022b
commit 2dab864199
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
class ChangeStudentScore < ActiveRecord::Migration
def up
sql = ActiveRecord::Base.connection()
sql.update_sql("update seems_rateable_rates set stars = 5 where stars > 5")
end
def down
end
end