DEV: Replace 'processed' column on notifications with new table (#11864)

This commit is contained in:
Mark VanLandingham
2021-01-27 10:29:24 -06:00
committed by GitHub
parent 60f10e9067
commit 809274fe0d
12 changed files with 61 additions and 46 deletions

View File

@@ -0,0 +1,9 @@
# frozen_string_literal: true
class ShelvedNotification < ActiveRecord::Base
belongs_to :notification
def process
NotificationEmailer.process_notification(notification, no_delay: true)
end
end