20170619000001_tree_select.rb 371 B

12345678910
  1. class TreeSelect < ActiveRecord::Migration[4.2]
  2. def up
  3. # return if it's a new setup
  4. return if !Setting.find_by(name: 'system_init_done')
  5. change_column :object_manager_attributes, :data_option, :text, limit: 800.kilobytes + 1, null: true
  6. change_column :object_manager_attributes, :data_option_new, :text, limit: 800.kilobytes + 1, null: true
  7. end
  8. end