trabajo-afectivo/db/migrate/20220314080801_issue4009_fix_title.rb

11 lines
372 B
Ruby
Raw Permalink Normal View History

# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
class Issue4009FixTitle < ActiveRecord::Migration[6.0]
def change
# return if it's a new setup
return if !Setting.exists?(name: 'system_init_done')
Setting.find_by(title: 'Note - visibility confirmation dialog').update(title: 'Article - visibility confirmation dialog')
end
end