|
@@ -4,7 +4,7 @@ class Issue2619KbHeaderLinkColor < ActiveRecord::Migration[6.0]
|
|
def up
|
|
def up
|
|
return if !Setting.exists?(name: 'system_init_done')
|
|
return if !Setting.exists?(name: 'system_init_done')
|
|
|
|
|
|
- add_column :knowledge_bases, :color_header_link, :string, limit: 25, null: false, default: 'hsl(206,8%,50%)' # rubocop:disable Zammad/ExistsResetColumnInformation
|
|
|
|
|
|
+ add_column :knowledge_bases, :color_header_link, :string, limit: 25, null: false, default: 'hsl(206,8%,50%)'
|
|
change_column_default :knowledge_bases, :color_header_link, nil
|
|
change_column_default :knowledge_bases, :color_header_link, nil
|
|
KnowledgeBase.reset_column_information
|
|
KnowledgeBase.reset_column_information
|
|
end
|
|
end
|