#1689修改部分学生匿评得分大于5分
This commit is contained in:
parent
410d61022b
commit
2dab864199
|
@ -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
|
Loading…
Reference in New Issue