diff --git a/db/migrate/20150602055730_remove_bid_activity.rb b/db/migrate/20150602055730_remove_bid_activity.rb new file mode 100644 index 000000000..759091118 --- /dev/null +++ b/db/migrate/20150602055730_remove_bid_activity.rb @@ -0,0 +1,7 @@ +class RemoveBidActivity < ActiveRecord::Migration + def change + Activity.where(:act_type => "Bid").each do |act| + act.destroy + end + end +end diff --git a/db/schema.rb b/db/schema.rb index 6f174868e..42c743588 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20150602021020) do +ActiveRecord::Schema.define(:version => 20150602055730) do create_table "activities", :force => true do |t| t.integer "act_id", :null => false