From d073a7d5a88818586ad2df0b1c476a8079903404 Mon Sep 17 00:00:00 2001 From: Daniel Waterworth Date: Tue, 11 Jun 2019 02:17:23 +0100 Subject: [PATCH] DEV: Added commit approved notification type for discourse-code-review We need to reserve ids in core so plugins do not clash. --- app/models/notification.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/notification.rb b/app/models/notification.rb index c54d4495f8c..ab420cbb2ec 100644 --- a/app/models/notification.rb +++ b/app/models/notification.rb @@ -63,7 +63,8 @@ class Notification < ActiveRecord::Base watching_first_post: 17, topic_reminder: 18, liked_consolidated: 19, - post_approved: 20 + post_approved: 20, + code_review_commit_approved: 21 ) end