20210712101116_inclusive_wording.rb 343 B

123456789101112
  1. # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
  2. class InclusiveWording < ActiveRecord::Migration[6.0]
  3. def up
  4. # return if it's a new setup
  5. return if !Setting.exists?(name: 'system_init_done')
  6. rename_column :chats, :whitelisted_websites, :allowed_websites
  7. Chat.reset_column_information
  8. end
  9. end