Fixes slow query in notifications api (#2851)
* Add inclusion validation for activity_type * When excluding all types with `WHERE NOT IN`, the query search all rows.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
Fabricator(:notification) do
|
||||
activity_id 1
|
||||
activity_type "MyString"
|
||||
activity_type 'Favourite'
|
||||
end
|
||||
|
Reference in New Issue
Block a user