Change the default notification option from only_my_events to only_assigned (#39500).

Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22504 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2023-12-08 08:29:17 +00:00
parent a73ffaebd3
commit 9b2b30b887
4 changed files with 6 additions and 6 deletions

View File

@@ -5,9 +5,9 @@ class CreateSettings < ActiveRecord::Migration[4.2]
t.column "value", :text
end
# Persist text_formatting default setting for new installations
setting = Setting.new(:name => "text_formatting", :value => Setting.text_formatting)
setting.save!
# Persist default settings for new installations
Setting.create!(name: 'default_notification_option', value: Setting.default_notification_option)
Setting.create!(name: 'text_formatting', value: Setting.text_formatting)
end
def self.down