don't migrate configurable_from_database setting
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Fri, 10 Jan 2020 16:44:30 +0000 (19:44 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Fri, 10 Jan 2020 16:44:30 +0000 (19:44 +0300)
lib/mix/tasks/pleroma/config.ex

index 3f80af5a7d903df3c8f9e932015f8bb712cb6f5a..e7c6e8810c24d288d4e97290d4dc02bbcd320bfb 100644 (file)
@@ -76,7 +76,8 @@ defmodule Mix.Tasks.Pleroma.Config do
     group
     |> Application.get_all_env()
     |> 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)
     |> Enum.each(fn {key, value} ->
       key = inspect(key)