20200205000001_chat_add_allow_website.rb 324 B

1234567891011
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class ChatAddAllowWebsite < 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. add_column :chats, :whitelisted_websites, :string, limit: 5000, null: true
  7. end
  8. end