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:
data_migration.feature_lock ->
:noop
- not is_nil(Config.improved_hashtag_timeline()) ->
+ not is_nil(Config.get([:database, :improved_hashtag_timeline])) ->
:noop
true ->
- Config.put(Config.improved_hashtag_timeline_path(), true)
+ Config.put([:database, :improved_hashtag_timeline], true)
:ok
end
end