parent
fe93a9c2c5
commit
bb1c1a0bb0
@ -0,0 +1,9 @@
|
||||
class UpdateStudentScore < 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