socialforge/db/migrate/20150602055730_remove_bid_a...

8 lines
152 B
Ruby
Raw Normal View History

2015-06-02 13:59:33 +08:00
class RemoveBidActivity < ActiveRecord::Migration
def change
Activity.where(:act_type => "Bid").each do |act|
act.destroy
end
end
end