Still allow passing the arg, but fallback to MIX_ENV

This commit is contained in:
Mark Felder 2020-07-12 10:59:12 -05:00
parent 0871e8b8fe
commit 46b123cded
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ defp create(group, settings) do
defp migrate_from_db(opts) do
if Pleroma.Config.get([:configurable_from_database]) do
env = Mix.env()
env = opts[:env] || Mix.env()
config_path =
if Pleroma.Config.get(:release) do