diff --git a/db/migrate/20170120120614_update_applied_message_status.rb b/db/migrate/20170120120614_update_applied_message_status.rb new file mode 100644 index 000000000..c8520c056 --- /dev/null +++ b/db/migrate/20170120120614_update_applied_message_status.rb @@ -0,0 +1,8 @@ +class UpdateAppliedMessageStatus < ActiveRecord::Migration + def up + AppliedMessage.where(:applied_type => "ApplyAddSchools", :status => 0).update_all(:status => 1) + end + + def down + end +end