20180524182518_sms_support.rb 421 B

1234567891011121314151617
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. class SmsSupport < ActiveRecord::Migration[5.1]
  3. def up
  4. # return if it's a new setup
  5. return if !Setting.exists?(name: 'system_init_done')
  6. Permission.create_if_not_exists(
  7. name: 'admin.channel_sms',
  8. note: 'Manage %s',
  9. preferences: {
  10. translations: ['Channel - SMS']
  11. },
  12. )
  13. end
  14. end