aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/migrators
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2021-02-07 22:24:12 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2021-02-07 22:24:12 +0300
commitd1c6dd97aa503ca7c897d67d98fe8c924e113a61 (patch)
tree337e5fb61f36e458bfdfca4f925b7c063d6348b0 /lib/pleroma/migrators
parent4e14945670bac15a6e183eb8c552d6e0669713ac (diff)
downloadpleroma-d1c6dd97aa503ca7c897d67d98fe8c924e113a61.tar.gz
[#3213] Partially addressed code review points.
migration rollback task changes, hashtags-related config handling tweaks, `hashtags.data` deletion (unused).
Diffstat (limited to 'lib/pleroma/migrators')
-rw-r--r--lib/pleroma/migrators/hashtags_table_migrator.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/migrators/hashtags_table_migrator.ex b/lib/pleroma/migrators/hashtags_table_migrator.ex
index 07b42a7f4..9a036e0b2 100644
--- a/lib/pleroma/migrators/hashtags_table_migrator.ex
+++ b/lib/pleroma/migrators/hashtags_table_migrator.ex
@@ -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