socialforge/db/migrate/20150602055730_remove_bid_a...

8 lines
152 B
Ruby

class RemoveBidActivity < ActiveRecord::Migration
def change
Activity.where(:act_type => "Bid").each do |act|
act.destroy
end
end
end