Browse Source

Load the application before executing the create task

tags/v1.1.4
rinpatch 5 years ago
parent
commit
19f16e829d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      lib/pleroma/release_tasks.ex

+ 2
- 0
lib/pleroma/release_tasks.ex View File

@@ -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…
Cancel
Save