don't migrate configurable_from_database setting

This commit is contained in:
Alexander Strizhakov 2020-01-10 19:44:30 +03:00
parent 7d128ca208
commit eadb674c41
No known key found for this signature in database
GPG key ID: 022896A53AEF1381

View file

@ -76,7 +76,8 @@ defp load_and_create(group) do
group group
|> Application.get_all_env() |> Application.get_all_env()
|> Enum.reject(fn {k, _v} -> |> Enum.reject(fn {k, _v} ->
k in [Pleroma.Repo, :env] or (group == :phoenix and k == :serve_endpoints) k in [Pleroma.Repo, :env, :configurable_from_database] or
(group == :phoenix and k == :serve_endpoints)
end) end)
|> Enum.each(fn {key, value} -> |> Enum.each(fn {key, value} ->
key = inspect(key) key = inspect(key)