[#3213] Partially addressed code review points.

migration rollback task changes, hashtags-related config handling tweaks, `hashtags.data` deletion (unused).
This commit is contained in:
Ivan Tashkinov 2021-02-07 22:24:12 +03:00
commit d1c6dd97aa
9 changed files with 63 additions and 42 deletions

View file

@ -239,11 +239,11 @@ defmodule Pleroma.Migrators.HashtagsTableMigrator do
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