20170619000001_tree_select.rb 448 B

123456789101112
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. class TreeSelect < ActiveRecord::Migration[4.2]
  3. def up
  4. # return if it's a new setup
  5. return if !Setting.exists?(name: 'system_init_done')
  6. change_column :object_manager_attributes, :data_option, :text, limit: 800.kilobytes + 1, null: true
  7. change_column :object_manager_attributes, :data_option_new, :text, limit: 800.kilobytes + 1, null: true
  8. end
  9. end