Load the application before executing the create task

Cette révision appartient à :
rinpatch 2019-06-22 04:33:46 +03:00
Parent ebee9f59d8
révision 19f16e829d

Voir le fichier

@ -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")