删除无效动态
This commit is contained in:
parent
79f4e286cf
commit
c8128cffea
|
@ -0,0 +1,7 @@
|
|||
class RemoveBidActivity < ActiveRecord::Migration
|
||||
def change
|
||||
Activity.where(:act_type => "Bid").each do |act|
|
||||
act.destroy
|
||||
end
|
||||
end
|
||||
end
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue