2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2020-02-19 15:02:28 +00:00
|
|
|
class Issue2641KbColorChangeLimit < ActiveRecord::Migration[5.2]
|
|
|
|
def change
|
2020-08-03 08:35:43 +00:00
|
|
|
return if !Setting.exists?(name: 'system_init_done')
|
2020-02-19 15:02:28 +00:00
|
|
|
|
|
|
|
change_column :knowledge_bases, :color_highlight, :string, limit: 25
|
|
|
|
change_column :knowledge_bases, :color_header, :string, limit: 25
|
|
|
|
end
|
|
|
|
end
|