From: rinpatch Date: Sat, 22 Jun 2019 01:33:46 +0000 (+0300) Subject: Load the application before executing the create task X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=19f16e829d2f5f800483aeb1f48aefca2504d1e6;p=akkoma Load the application before executing the create task --- diff --git a/lib/pleroma/release_tasks.ex b/lib/pleroma/release_tasks.ex index d6720cd05..8afabf463 100644 --- a/lib/pleroma/release_tasks.ex +++ b/lib/pleroma/release_tasks.ex @@ -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")