mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 20:34:50 +08:00
FEATURE: Add IgnoredUsersSummary
daily job (#7144)
* FEATURE: Add `IgnoredUsersSummary` daily job ## Why? This is part of the [Ability to ignore a user feature](https://meta.discourse.org/t/ability-to-ignore-a-user/110254/8). We want to: 1. Send an automatic group PM that goes out to moderators 2. When {x} users have Ignored the same user, threshold defined by a site setting, default of 5 3. Only send this message every X days which is defined by another site setting
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
class AddSummarizedAtColumnToIgnoredUsersTable < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :ignored_users, :summarized_at, :datetime
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user