Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix query in default notification setup

Oliver Güntherca38c4cef76c
diff --git a/db/migrate/20211104151329_default_notification_setting.rb b/db/migrate/20211104151329_default_notification_setting.rb
index 51e717bb5e4..6aef31ae4a4 100644
--- a/db/migrate/20211104151329_default_notification_setting.rb
+++ b/db/migrate/20211104151329_default_notification_setting.rb
@@ -10,6 +10,7 @@ class DefaultNotificationSetting < ActiveRecord::Migration[6.1]
id, true, true, true
FROM
users
+ WHERE type = 'User'
SQL
end