9 lines
196 B
Ruby
9 lines
196 B
Ruby
|
class UpdateAppliedMessageStatus < ActiveRecord::Migration
|
||
|
def up
|
||
|
AppliedMessage.where(:applied_type => "ApplyAddSchools", :status => 0).update_all(:status => 1)
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
end
|
||
|
end
|