20170504144100_follow_up_merged.rb 557 B

1234567891011121314151617
  1. class FollowUpMerged < ActiveRecord::Migration[4.2]
  2. def up
  3. # return if it's a new setup
  4. return if !Setting.exists?(name: 'system_init_done')
  5. Setting.create_if_not_exists(
  6. title: 'Defines postmaster filter.',
  7. name: '0110_postmaster_filter_follow_up_merged',
  8. area: 'Postmaster::PreFilter',
  9. description: 'Defines postmaster filter to identify follow-up ticket for merged tickets.',
  10. options: {},
  11. state: 'Channel::Filter::FollowUpMerged',
  12. frontend: false
  13. )
  14. end
  15. end