aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/migrators
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2021-01-31 18:24:19 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2021-01-31 18:24:19 +0300
commit9948ff3356f9e9e214584207a53eba614c73383c (patch)
treec3e3e678f0db930da7e6efa7694b45cb3d6627af /lib/pleroma/migrators
parent380d0cce6b802baf4d13031a4a39f169dd65bffd (diff)
downloadpleroma-9948ff3356f9e9e214584207a53eba614c73383c.tar.gz
[#3213] Added HashtagsCleanupWorker periodic job.
Diffstat (limited to 'lib/pleroma/migrators')
-rw-r--r--lib/pleroma/migrators/hashtags_table_migrator.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/migrators/hashtags_table_migrator.ex b/lib/pleroma/migrators/hashtags_table_migrator.ex
index 6a1c9592c..07b42a7f4 100644
--- a/lib/pleroma/migrators/hashtags_table_migrator.ex
+++ b/lib/pleroma/migrators/hashtags_table_migrator.ex
@@ -152,6 +152,7 @@ defmodule Pleroma.Migrators.HashtagsTableMigrator do
defp query do
# Note: most objects have Mention-type AS2 tags and no hashtags (but we can't filter them out)
+ # Note: not checking activity type; HashtagsCleanupWorker should clean up unused records later
from(
object in Object,
where: