Few people used forum subscriptions (only around 100), and even fewer people were subscribed to active threads. Most subscriptions were for old threads that will never be bumped again. The implementation also had a few problems: * Unsubscribe links in emails didn't work (they unset the user's receive_email_notifications flag, but forum subscriptions didn't respect this flag). * Some users had invalid email addresses, which caused notifications to bounce. There was no mechanism for preventing bounces. * The implementation wasn't scalable. It involved a daily linear scan over _all_ forum subscriptions looking for any topics that had been updated.
8 lines
181 B
Ruby
8 lines
181 B
Ruby
require_relative "20140725003232_create_forum_subscriptions"
|
|
|
|
class DropForumSubscriptions < ActiveRecord::Migration[6.0]
|
|
def change
|
|
revert CreateForumSubscriptions
|
|
end
|
|
end
|