Improved migration.
This commit is contained in:
parent
61c04e50c5
commit
67a8ee52d3
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ class UpdateSetting2 < ActiveRecord::Migration
|
|||
|
||||
# add preferences
|
||||
add_column :settings, :preferences, :string, limit: 2000, null: true
|
||||
Setting.reset_column_information
|
||||
|
||||
# update settings
|
||||
%w(product_name ticket_hook chat).each {|setting_name|
|
||||
|
|
Loading…
Reference in a new issue