Merge branch 'fix/ecto-tasks-release' into 'develop'
Ecto tasks: Resolve relative path using the application directory instead of cwd and load the application before doing anything See merge request pleroma/pleroma!1322
This commit is contained in:
commit
53c73cd1a3
5 changed files with 20 additions and 1 deletions
|
|
@ -44,6 +44,8 @@ defmodule Pleroma.ReleaseTasks do
|
|||
end
|
||||
|
||||
def create do
|
||||
Application.load(:pleroma)
|
||||
|
||||
case @repo.__adapter__.storage_up(@repo.config) do
|
||||
:ok ->
|
||||
IO.puts("The database for #{inspect(@repo)} has been created")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue