fix for migrate task
This commit is contained in:
parent
7438c177d9
commit
6a4201e0b4
3 changed files with 6 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ defmodule Mix.Tasks.Pleroma.Config do
|
|||
if Pleroma.Config.get([:instance, :dynamic_configuration]) do
|
||||
config_path = "config/#{env}.exported_from_db.secret.exs"
|
||||
|
||||
{:ok, file} = File.open(config_path, [:write])
|
||||
{:ok, file} = File.open(config_path, [:write, :utf8])
|
||||
IO.write(file, "use Mix.Config\r\n")
|
||||
|
||||
Repo.all(Config)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue