This commit is contained in:
guange 2015-12-18 10:53:51 +08:00
commit 74be964eaf
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# encoding: utf-8
class BatchDeleteProjectJournalActivities < ActiveRecord::Migration
def up
ForgeActivity.where('forge_act_type = \'Journal\'').destroy_all #需要触发回调
end
def down
end
end