[#3213] Prototype of data migrations functionality / HashtagsTableMigrator.

This commit is contained in:
Ivan Tashkinov 2021-01-13 22:07:38 +03:00
commit 3e4d84729a
11 changed files with 316 additions and 64 deletions

View file

@ -96,7 +96,9 @@ defmodule Pleroma.Config do
end
end
def object_embedded_hashtags?, do: !get([:instance, :improved_hashtag_timeline])
def improved_hashtag_timeline_path, do: [:instance, :improved_hashtag_timeline]
def improved_hashtag_timeline, do: get(improved_hashtag_timeline_path())
def object_embedded_hashtags?, do: !improved_hashtag_timeline()
def oauth_consumer_strategies, do: get([:auth, :oauth_consumer_strategies], [])