journal不应该算入ForgeActivity,历史数据应该删除
This commit is contained in:
parent
47b20d3639
commit
bba40de36d
|
@ -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
|
Loading…
Reference in New Issue