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

Update db/migrate/20211105142202_queue_notification_update_mail.rb

ulfertse0263f9de539
diff --git a/db/migrate/20211105142202_queue_notification_update_mail.rb b/db/migrate/20211105142202_queue_notification_update_mail.rb
index d5740abf0bd..de765f4ae05 100644
--- a/db/migrate/20211105142202_queue_notification_update_mail.rb
+++ b/db/migrate/20211105142202_queue_notification_update_mail.rb
@@ -2,7 +2,7 @@ class QueueNotificationUpdateMail < ActiveRecord::Migration[6.1]
def up
# On a newly created database, we don't want the update mail to be sent.
# Users are only created upon seeding.
- return unless User.exists?
+ return unless User.not_builtin.exists?
::Announcements::SchedulerJob
.perform_later subject: :'notifications.update_info_mail.subject',